[Rails] Re: Rspec and restful routes

2012-02-07 Thread gerbdla
use that looks incorrect the restful actions are actions like show index create etc etc On Feb 7, 6:07 am, edward michaels wrote: > Thanks, you don't declare the restful routes in your controller > though, right?  The error that I'm getting specifies that there is no > 'show' action like this: >

Re: [Rails] Re: Rspec and restful routes

2012-02-07 Thread Peter Vandenabeele
On Tue, Feb 7, 2012 at 3:07 PM, edward michaels wrote: > Thanks, you don't declare the restful routes in your controller > though, right? In the case I showed, I _do_ declare the default RESTful routes in the config/routes.rb (they are set there by the rails generator): $ cat config/routes.rb

[Rails] Re: Rspec and restful routes

2012-02-07 Thread edward michaels
Thanks, you don't declare the restful routes in your controller though, right? The error that I'm getting specifies that there is no 'show' action like this: ActionController::RoutingError: No route matches {:controller=>"users", :action=>"users/1"} So it's looking for a 'users/1'