summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/trackers_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/routing/trackers_test.rb')
-rw-r--r--test/integration/routing/trackers_test.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/integration/routing/trackers_test.rb b/test/integration/routing/trackers_test.rb
index 338197d8c..05724c92e 100644
--- a/test/integration/routing/trackers_test.rb
+++ b/test/integration/routing/trackers_test.rb
@@ -24,26 +24,14 @@ class RoutingTrackersTest < ActionDispatch::IntegrationTest
{ :controller => 'trackers', :action => 'index' }
)
assert_routing(
- { :method => 'get', :path => "/trackers.xml" },
- { :controller => 'trackers', :action => 'index', :format => 'xml' }
- )
- assert_routing(
{ :method => 'post', :path => "/trackers" },
{ :controller => 'trackers', :action => 'create' }
)
assert_routing(
- { :method => 'post', :path => "/trackers.xml" },
- { :controller => 'trackers', :action => 'create', :format => 'xml' }
- )
- assert_routing(
{ :method => 'get', :path => "/trackers/new" },
{ :controller => 'trackers', :action => 'new' }
)
assert_routing(
- { :method => 'get', :path => "/trackers/new.xml" },
- { :controller => 'trackers', :action => 'new', :format => 'xml' }
- )
- assert_routing(
{ :method => 'get', :path => "/trackers/1/edit" },
{ :controller => 'trackers', :action => 'edit', :id => '1' }
)
@@ -53,21 +41,11 @@ class RoutingTrackersTest < ActionDispatch::IntegrationTest
:id => '1' }
)
assert_routing(
- { :method => 'put', :path => "/trackers/1.xml" },
- { :controller => 'trackers', :action => 'update',
- :format => 'xml', :id => '1' }
- )
- assert_routing(
{ :method => 'delete', :path => "/trackers/1" },
{ :controller => 'trackers', :action => 'destroy',
:id => '1' }
)
assert_routing(
- { :method => 'delete', :path => "/trackers/1.xml" },
- { :controller => 'trackers', :action => 'destroy',
- :format => 'xml', :id => '1' }
- )
- assert_routing(
{ :method => 'get', :path => "/trackers/fields" },
{ :controller => 'trackers', :action => 'fields' }
)