]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/messages_controller_test.rb
Use a resourceful path for message marking
[rails.git] / test / controllers / messages_controller_test.rb
index a5043a3f3b6c8f9c59fffac8fde7f6a738a3f177..e3756f04201b18d3812fcef03a9d11c3c7ba02e4 100644 (file)
@@ -25,7 +25,7 @@ class MessagesControllerTest < ActionController::TestCase
       { :controller => "messages", :action => "show", :id => "1" }
     )
     assert_routing(
-      { :path => "/message/mark/1", :method => :post },
+      { :path => "/messages/1/mark", :method => :post },
       { :controller => "messages", :action => "mark", :message_id => "1" }
     )
     assert_routing(