Displaying 1 result from an estimated 1 matches for "recipes_controller_spec".
2007 Mar 09
1
Specifying RESTful Routes
What would be the proper way to specify this route?
ActionController::Routing::Routes.draw do |map|
map.resource :recipes
end
Would the specification go into recipes_controller_spec? Also, what
methods are available for testing RESTful routes (i.e. GET, POST, PUT,
DELETE)?