Reorganise tests to match modern rails test layout
This commit is contained in:
parent
1ea64ea977
commit
98184dfb9c
74 changed files with 78 additions and 73 deletions
12
test/controllers/swf_controller_test.rb
Normal file
12
test/controllers/swf_controller_test.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue