diff options
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r-- | test/functional/issues_controller_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 6d106e88b..f642d582d 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -851,11 +851,13 @@ class IssuesControllerTest < ActionController::TestCase end def test_index_with_spent_hours_column + Issue.expects(:load_visible_spent_hours).once get :index, :set_filter => 1, :c => %w(subject spent_hours) assert_select 'table.issues tr#issue-3 td.spent_hours', :text => '1.00' end def test_index_with_total_spent_hours_column + Issue.expects(:load_visible_total_spent_hours).once get :index, :set_filter => 1, :c => %w(subject total_spent_hours) assert_select 'table.issues tr#issue-3 td.total_spent_hours', :text => '1.00' end |