Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failures:
- 1) VotesController routing recognizes and generates #delete
- Failure/Error: { :delete => "/discussions/posts/1/votes/1" }.should route_to(:controller => "discussions/votes", :action => "destroy", :id => "1", :post_id => "1")
- No route matches "/discussions/posts/1/votes/1"
- # ./spec/routing/votes_routing_spec.rb:6:in `block (3 levels) in <top (required)>'
- 2) VotesController routing recognizes and generates #create
- Failure/Error: { :post => "/discussions/posts/1/votes" }.should route_to(:controller => "discussions/votes", :action => "create", :post_id => '1')
- No route matches "/discussions/posts/1/votes"
- # ./spec/routing/votes_routing_spec.rb:9:in `block (3 levels) in <top (required)>'
- Finished in 0.11075 seconds
- 7 examples, 2 failures
Add Comment
Please, Sign In to add comment