Commit 4b10bfde

mo k <mo@mokhan.ca>
2012-08-01 03:18:39
remove favorites controller specs from photos controller file.
1 parent ac3f1c3
Changed files (1)
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