##// END OF EJS Templates
Fixes test conditions....
Jean-Philippe Lang -
r7956:cad148cb5ccd
parent child
Show More
@@ -538,8 +538,8 class IssuesControllerTest < ActionController::TestCase
538 assert_response :success
538 assert_response :success
539 end
539 end
540
540
541 def test_index_group_by_spent_hours
541 def test_index_sort_by_spent_hours
542 get :index, :group_by => 'author', :sort => 'spent_hours:desc'
542 get :index, :sort => 'spent_hours:desc'
543 assert_response :success
543 assert_response :success
544 hours = assigns(:issues).collect(&:spent_hours)
544 hours = assigns(:issues).collect(&:spent_hours)
545 assert_equal hours.sort.reverse, hours
545 assert_equal hours.sort.reverse, hours
General Comments 0
You need to be logged in to leave comments. Login now