X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1ea64ea977b08e5393d469707e268aee260acd2f..98184dfb9cacc74ac5bcb91a41a2d5804b3f4f7d:/test/controllers/swf_controller_test.rb diff --git a/test/controllers/swf_controller_test.rb b/test/controllers/swf_controller_test.rb new file mode 100644 index 000000000..d7213133b --- /dev/null +++ b/test/controllers/swf_controller_test.rb @@ -0,0 +1,12 @@ +require 'test_helper' + +class SwfControllerTest < ActionController::TestCase + ## + # test all routes which lead to this controller + def test_routes + assert_routing( + { :path => "/api/0.6/swf/trackpoints", :method => :get }, + { :controller => "swf", :action => "trackpoints" } + ) + end +end