@@ -538,8 +538,8 class IssuesControllerTest < ActionController::TestCase | |||
|
538 | 538 | assert_response :success |
|
539 | 539 | end |
|
540 | 540 | |
|
541 |
def test_index_ |
|
|
542 |
get :index |
|
|
541 | def test_index_sort_by_spent_hours | |
|
542 | get :index, :sort => 'spent_hours:desc' | |
|
543 | 543 | assert_response :success |
|
544 | 544 | hours = assigns(:issues).collect(&:spent_hours) |
|
545 | 545 | assert_equal hours.sort.reverse, hours |
General Comments 0
You need to be logged in to leave comments.
Login now