X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5449cf4adcc1fad4b9f43426e6d3e4a8f65e6fbb..2c67c079ac39cefd3b096524fc0b7364b0eb21d7:/test/functional/swf_controller_test.rb diff --git a/test/functional/swf_controller_test.rb b/test/functional/swf_controller_test.rb index 862d3a8f0..09b8f3aae 100644 --- a/test/functional/swf_controller_test.rb +++ b/test/functional/swf_controller_test.rb @@ -1,8 +1,12 @@ require File.dirname(__FILE__) + '/../test_helper' class SwfControllerTest < ActionController::TestCase - # Replace this with your real tests. - def test_truth - assert true + ## + # 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