##// END OF EJS Templates
Merge r7033 from trunk....
Toshi MARUYAMA -
r6918:723d60a1cec9
parent child
Show More
@@ -78,17 +78,6 class IssuesControllerTest < ActionController::TestCase
78 assert_tag :tag => 'a', :content => /Subproject issue/
78 assert_tag :tag => 'a', :content => /Subproject issue/
79 end
79 end
80
80
81 def test_index_should_not_list_issues_when_module_disabled
82 EnabledModule.delete_all("name = 'issue_tracking' AND project_id = 1")
83 get :index
84 assert_response :success
85 assert_template 'index.rhtml'
86 assert_not_nil assigns(:issues)
87 assert_nil assigns(:project)
88 assert_no_tag :tag => 'a', :content => /Can't print recipes/
89 assert_tag :tag => 'a', :content => /Subproject issue/
90 end
91
92 def test_index_should_list_visible_issues_only
81 def test_index_should_list_visible_issues_only
93 get :index, :per_page => 100
82 get :index, :per_page => 100
94 assert_response :success
83 assert_response :success
General Comments 0
You need to be logged in to leave comments. Login now