summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/trackers_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/routing/trackers_test.rb b/test/integration/routing/trackers_test.rb
index 4b75bf52e..42bb574a9 100644
--- a/test/integration/routing/trackers_test.rb
+++ b/test/integration/routing/trackers_test.rb
@@ -67,5 +67,13 @@ class RoutingTrackersTest < ActionController::IntegrationTest
{ :controller => 'trackers', :action => 'destroy',
:format => 'xml', :id => '1' }
)
+ assert_routing(
+ { :method => 'get', :path => "/trackers/fields" },
+ { :controller => 'trackers', :action => 'fields' }
+ )
+ assert_routing(
+ { :method => 'post', :path => "/trackers/fields" },
+ { :controller => 'trackers', :action => 'fields' }
+ )
end
end