Reorganise tests to match modern rails test layout

This commit is contained in:
Tom Hughes 2014-02-26 00:13:19 +00:00
parent 1ea64ea977
commit 98184dfb9c
74 changed files with 78 additions and 73 deletions

View file

@ -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