Commits

Toshi MARUYAMA committed 359a56e

test: route: split roadmap test in versions test

Comments (0)

Files changed (1)

test/integration/routing/versions_test.rb

 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',