Guest User

Untitled

a guest
Jun 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. Failures:
  2. 1) VotesController routing recognizes and generates #delete
  3. Failure/Error: { :delete => "/discussions/posts/1/votes/1" }.should route_to(:controller => "discussions/votes", :action => "destroy", :id => "1", :post_id => "1")
  4. No route matches "/discussions/posts/1/votes/1"
  5. # ./spec/routing/votes_routing_spec.rb:6:in `block (3 levels) in <top (required)>'
  6.  
  7. 2) VotesController routing recognizes and generates #create
  8. Failure/Error: { :post => "/discussions/posts/1/votes" }.should route_to(:controller => "discussions/votes", :action => "create", :post_id => '1')
  9. No route matches "/discussions/posts/1/votes"
  10. # ./spec/routing/votes_routing_spec.rb:9:in `block (3 levels) in <top (required)>'
  11.  
  12. Finished in 0.11075 seconds
  13. 7 examples, 2 failures
Add Comment
Please, Sign In to add comment