]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/old_way_controller_test.rb
Get all the tests passing under ruby 1.9
[rails.git] / test / functional / old_way_controller_test.rb
index 84f0e04b0bb503c9c605741982faca2175383a76..2e9ec8263e3e2fa63592c1aab76596b28a499386 100644 (file)
@@ -15,6 +15,10 @@ class OldWayControllerTest < ActionController::TestCase
       { :path => "/api/0.6/way/1/2", :method => :get },
       { :controller => "old_way", :action => "version", :id => "1", :version => "2" }
     )
+    assert_routing(
+      { :path => "/api/0.6/way/1/2/redact", :method => :post },
+      { :controller => "old_way", :action => "redact", :id => "1", :version => "2" }
+    )
   end
 
   # -------------------------------------