openstreetmap-website/test/functional/swf_controller_test.rb
2012-03-09 19:49:44 +00:00

12 lines
335 B
Ruby

require File.dirname(__FILE__) + '/../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