X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bed9cd00ed166ce346da4b8a9b654ddf86e64e70..40012189cb311510e545202d688294b9a8490ab1:/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