Skip to content

Routing specs #36

@dmathieu

Description

@dmathieu

Hello,

I'm trying to write some routing specs for my controller.
As you're doing in the routing generator : http://github.com/rspec/rspec-rails/blob/master/lib/generators/rspec/scaffold/templates/routing_spec.rb
I've creates spec/routing/controller_routing_spec.rb with my routing specs.

However I constantly get the two following errors :

undefined method `params_from' for #<Rspec::Core::ExampleGroup::Nested_5::Nested_6:0x10a07ae80>

undefined method `route_for' for #<Rspec::Core::ExampleGroup::Nested_5::Nested_6:0x10a07ae80>

I guess that's because routing specing isn't implemented yet. So I create this ticket as a "todo".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions