Commit a9e445a3
Changed files (1)
spec
routing
spec/routing/profiles_routing_spec.rb
@@ -4,11 +4,13 @@ describe ProfilesController do
it "routes to index" do
get('/profiles/').should route_to("profiles#index")
end
+
it "routes to #show" do
get("/profiles/1").should route_to("profiles#show", :id => "1")
end
+
it "routes to my favorites" do
- get("favorites").should route_to("profiles#favorites", :method => "GET")
+ get("/favorites").should route_to("profiles#favorites")
end
end
end