Commit 4b10bfde
Changed files (1)
spec
routing
spec/routing/photos_routing_spec.rb
@@ -11,15 +11,3 @@ describe PhotosController do
end
end
end
-describe FavoritesController do
- describe "routing" do
- it "should route to create" do
- get('creations/1/favorites').should
- route_to(:controller => "favorites", :action => "index", :creation_id => 1, :method => "GET")
- end
- it "should route to delete" do
- post('creations/1/favorites').should
- route_to(:controller => "favorites", :action => "create", :creation_id => 1, :method => "POST")
- end
- end
-end