[rspec-users] Specifying RESTful Routes

Jed Hurt jed.hurt at gmail.com
Thu Mar 8 23:28:53 EST 2007

What would be the proper way to specify this route?

ActionController::Routing::Routes.draw do |map|
  map.resource :recipes

Would the specification go into recipes_controller_spec? Also, what
methods are available for testing RESTful routes (i.e. GET, POST, PUT,

More information about the rspec-users mailing list