Commit 4ca198d3
Changed files (1)
spec
routing
spec/routing/creations_routing_spec.rb
@@ -10,29 +10,8 @@ describe CreationsController do
{ :get => "/creations" }.should route_to(:controller => "creations", :action => "index")
end
- it "recognizes and generates #new" do
- { :get => "/creations/new" }.should route_to(:controller => "creations", :action => "new")
- end
-
it "recognizes and generates #show" do
{ :get => "/creations/1" }.should route_to(:controller => "creations", :action => "show", :id => "1")
end
-
- it "recognizes and generates #edit" do
- { :get => "/creations/1/edit" }.should route_to(:controller => "creations", :action => "edit", :id => "1")
- end
-
- it "recognizes and generates #create" do
- { :post => "/creations" }.should route_to(:controller => "creations", :action => "create")
- end
-
- it "recognizes and generates #update" do
- { :put => "/creations/1" }.should route_to(:controller => "creations", :action => "update", :id => "1")
- end
-
- it "recognizes and generates #destroy" do
- { :delete => "/creations/1" }.should route_to(:controller => "creations", :action => "destroy", :id => "1")
- end
-
end
end