]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/message_controller_test.rb
Treat all newly entered blocks of text as Markdown
[rails.git] / test / functional / message_controller_test.rb
index 1a47f02d620e25c39a9de7c5f92617e211d50d82..a2bb1f805455a5d5645ae9e6801dcfacbd6082bf 100644 (file)
@@ -33,6 +33,10 @@ class MessageControllerTest < ActionController::TestCase
       { :path => "/message/reply/1", :method => :get },
       { :controller => "message", :action => "reply", :message_id => "1" }
     )
+    assert_routing(
+      { :path => "/message/reply/1", :method => :post },
+      { :controller => "message", :action => "reply", :message_id => "1" }
+    )
     assert_routing(
       { :path => "/message/delete/1", :method => :post },
       { :controller => "message", :action => "delete", :message_id => "1" }