X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5449cf4adcc1fad4b9f43426e6d3e4a8f65e6fbb..65b009ea320ad6a5034bca6c2ce250f043f7bf8d:/test/functional/swf_controller_test.rb?ds=sidebyside 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