]> source.dussan.org Git - redmine.git/commitdiff
remove duplicate "test_index_should_not_list_issues_when_module_disabled" from functi...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Sep 2011 01:08:15 +0000 (01:08 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Sep 2011 01:08:15 +0000 (01:08 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7033 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index 0b12ea8dc29a591dd0f8c45bd661818d05284de4..04da7af51ae4222c1229c8f6193cbde90818a74c 100644 (file)
@@ -78,17 +78,6 @@ class IssuesControllerTest < ActionController::TestCase
     assert_tag :tag => 'a', :content => /Subproject issue/
   end
 
-  def test_index_should_not_list_issues_when_module_disabled
-    EnabledModule.delete_all("name = 'issue_tracking' AND project_id = 1")
-    get :index
-    assert_response :success
-    assert_template 'index.rhtml'
-    assert_not_nil assigns(:issues)
-    assert_nil assigns(:project)
-    assert_no_tag :tag => 'a', :content => /Can't print recipes/
-    assert_tag :tag => 'a', :content => /Subproject issue/
-  end
-
   def test_index_should_list_visible_issues_only
     get :index, :per_page => 100
     assert_response :success