summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-04 19:12:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-04 19:12:15 +0000
commitcad148cb5ccd1fbe72154e38bb8a76f0d2c2ff77 (patch)
tree836e3b1a3ca8422c9cb7be9baf67a54a4dab9503 /test
parent2cca4938cf6288f7989cf2b8ccfc27c637b25ba1 (diff)
downloadredmine-cad148cb5ccd1fbe72154e38bb8a76f0d2c2ff77.tar.gz
redmine-cad148cb5ccd1fbe72154e38bb8a76f0d2c2ff77.zip
Fixes test conditions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8076 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issues_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index bf76adafd..30baac987 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -538,8 +538,8 @@ class IssuesControllerTest < ActionController::TestCase
assert_response :success
end
- def test_index_group_by_spent_hours
- get :index, :group_by => 'author', :sort => 'spent_hours:desc'
+ def test_index_sort_by_spent_hours
+ get :index, :sort => 'spent_hours:desc'
assert_response :success
hours = assigns(:issues).collect(&:spent_hours)
assert_equal hours.sort.reverse, hours