]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/browse_controller_test.rb
Restructure notes URLs according to standard rails conventions
[rails.git] / test / functional / browse_controller_test.rb
index 04b690ebf0119e3eb4816f51410503518e4d934c..3e4c07daf618f0511493ab12adaefbf809e86e1f 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