On 3/8/07, Jed Hurt <jed.hurt at gmail.com> wrote:> What would be the proper way to specify this route?
>
> ActionController::Routing::Routes.draw do |map|
> map.resource :recipes
> end
Take a look at the specs that get generated by this:
script/generate rspec_resource Recipes
David
>
>
> Would the specification go into recipes_controller_spec? Also, what
> methods are available for testing RESTful routes (i.e. GET, POST, PUT,
> DELETE)?
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>