]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/browse_controller_test.rb
Generate sensible notifications for reopened notes
[rails.git] / test / functional / browse_controller_test.rb
index 9ba8dd8f0dab22dd26ecbeddfc03e88d57e32c37..87a3e748967320e80b4d1f82b5e1959183b5ee25 100644 (file)
@@ -39,6 +39,10 @@ class BrowseControllerTest < ActionController::TestCase
       { :path => "/browse/changeset/1", :method => :get },
       { :controller => "browse", :action => "changeset", :id => "1" }
     )
+    assert_routing(
+      { :path => "/browse/note/1", :method => :get },
+      { :controller => "browse", :action => "note", :id => "1" }
+    )
   end
 
   def test_start