]> source.dussan.org Git - redmine.git/commitdiff
Add failing test for #4302.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 27 Nov 2009 19:56:09 +0000 (19:56 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 27 Nov 2009 19:56:09 +0000 (19:56 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3096 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index 7356b130bb7b43e8ee3acfbfa3feaaf63492ba89..da6e1de683a4bd747afac5dec710c9c8c4b9d3b9 100644 (file)
@@ -193,6 +193,11 @@ class IssuesControllerTest < ActionController::TestCase
     assert_not_nil count_by_group['MySQL']
   end
   
+  def test_index_sort_by_field_not_included_in_columns
+    Setting.issue_list_default_columns = %w(subject author)
+    get :index, :sort => 'tracker'
+  end
+  
   def test_index_csv_with_project
     Setting.default_language = 'en'