diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-07 15:58:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-07 15:58:39 +0000 |
commit | 03572ec5692cfe27f77112c79719987c5e265e1a (patch) | |
tree | ee64b27b1fb170d65bc24eeb353d7e7f269155f3 /test | |
parent | 554e569de10e7509e18cb2d8ceea3c32c344b796 (diff) | |
download | redmine-03572ec5692cfe27f77112c79719987c5e265e1a.tar.gz redmine-03572ec5692cfe27f77112c79719987c5e265e1a.zip |
Adds a sortable "Project" column to the issue list.
It's displayed by default on the cross-project issue list (#2889). It's also available for saved queries.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2566 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 6748f078f..f9ee2d767 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -58,6 +58,8 @@ class IssuesControllerTest < Test::Unit::TestCase end def test_index + Setting.default_language = 'en' + get :index assert_response :success assert_template 'index.rhtml' @@ -68,6 +70,8 @@ class IssuesControllerTest < Test::Unit::TestCase # private projects hidden assert_no_tag :tag => 'a', :content => /Issue of a private subproject/ assert_no_tag :tag => 'a', :content => /Issue on project 2/ + # project column + assert_tag :tag => 'th', :content => /Project/ end def test_index_should_not_list_issues_when_module_disabled |