summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/integration/routing/versions_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integration/routing/versions_test.rb b/test/integration/routing/versions_test.rb
index 932a9c5f5..7fadd5e5f 100644
--- a/test/integration/routing/versions_test.rb
+++ b/test/integration/routing/versions_test.rb
@@ -18,12 +18,15 @@
require File.expand_path('../../../test_helper', __FILE__)
class RoutingVersionsTest < ActionController::IntegrationTest
- def test_versions_scoped_under_project
+ def test_roadmap
# /projects/foo/versions is /projects/foo/roadmap
assert_routing(
{ :method => 'get', :path => "/projects/33/roadmap" },
{ :controller => 'versions', :action => 'index', :project_id => '33' }
)
+ end
+
+ def test_versions_scoped_under_project
assert_routing(
{ :method => 'put', :path => "/projects/foo/versions/close_completed" },
{ :controller => 'versions', :action => 'close_completed',