##// END OF EJS Templates
test: route: split issue categories test whether scoped under project or not...
Toshi MARUYAMA -
r8428:917d42733add
parent child
Show More
@@ -18,7 +18,7
18 18 require File.expand_path('../../../test_helper', __FILE__)
19 19
20 20 class RoutingIssueCategoriesTest < ActionController::IntegrationTest
21 def test_issue_categories
21 def test_issue_categories_scoped_under_project
22 22 assert_routing(
23 23 { :method => 'get', :path => "/projects/foo/issue_categories" },
24 24 { :controller => 'issue_categories', :action => 'index',
@@ -54,6 +54,9 class RoutingIssueCategoriesTest < ActionController::IntegrationTest
54 54 { :controller => 'issue_categories', :action => 'create',
55 55 :project_id => 'foo', :format => 'json' }
56 56 )
57 end
58
59 def test_issue_categories
57 60 assert_routing(
58 61 { :method => 'get', :path => "/issue_categories/1" },
59 62 { :controller => 'issue_categories', :action => 'show', :id => '1' }
General Comments 0
You need to be logged in to leave comments. Login now