summaryrefslogtreecommitdiffstats
path: root/test/integration/routing
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/routing')
-rw-r--r--test/integration/routing/projects_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/routing/projects_test.rb b/test/integration/routing/projects_test.rb
index d53c0607c..2d4756f26 100644
--- a/test/integration/routing/projects_test.rb
+++ b/test/integration/routing/projects_test.rb
@@ -70,6 +70,14 @@ class RoutingProjectsTest < ActionController::IntegrationTest
{ :controller => 'projects', :action => 'unarchive', :id => '64' }
)
assert_routing(
+ { :method => 'post', :path => "/projects/64/close" },
+ { :controller => 'projects', :action => 'close', :id => '64' }
+ )
+ assert_routing(
+ { :method => 'post', :path => "/projects/64/reopen" },
+ { :controller => 'projects', :action => 'reopen', :id => '64' }
+ )
+ assert_routing(
{ :method => 'put', :path => "/projects/4223" },
{ :controller => 'projects', :action => 'update', :id => '4223' }
)