@@ -851,11 +851,13 class IssuesControllerTest < ActionController::TestCase | |||
|
851 | 851 | end |
|
852 | 852 | |
|
853 | 853 | def test_index_with_spent_hours_column |
|
854 | Issue.expects(:load_visible_spent_hours).once | |
|
854 | 855 | get :index, :set_filter => 1, :c => %w(subject spent_hours) |
|
855 | 856 | assert_select 'table.issues tr#issue-3 td.spent_hours', :text => '1.00' |
|
856 | 857 | end |
|
857 | 858 | |
|
858 | 859 | def test_index_with_total_spent_hours_column |
|
860 | Issue.expects(:load_visible_total_spent_hours).once | |
|
859 | 861 | get :index, :set_filter => 1, :c => %w(subject total_spent_hours) |
|
860 | 862 | assert_select 'table.issues tr#issue-3 td.total_spent_hours', :text => '1.00' |
|
861 | 863 | end |
General Comments 0
You need to be logged in to leave comments.
Login now