diff options
Diffstat (limited to 'test/functional/timelog_report_test.rb')
-rw-r--r-- | test/functional/timelog_report_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/timelog_report_test.rb b/test/functional/timelog_report_test.rb index e1f55f6a9..e531db3a7 100644 --- a/test/functional/timelog_report_test.rb +++ b/test/functional/timelog_report_test.rb @@ -110,8 +110,8 @@ class TimelogReportTest < Redmine::ControllerTest get :report, :params => {:project_id => 1, :columns => 'month', :criteria => ["user", "activity"]} assert_response :success - assert_select 'td.name a.user.active[href=?]', '/users/1', 1, :text => 'Redmine Admin' - assert_select 'td.name a.user.locked[href=?]', '/users/2', 1, :text => 'John Smith' + assert_select 'td.name a.user.active[href=?]', '/users/1', :text => 'Redmine Admin', :count => 1 + assert_select 'td.name a.user.locked[href=?]', '/users/2', :text => 'John Smith', :count => 1 end def test_report_custom_field_criteria_with_multiple_values_on_single_value_custom_field_should_not_fail |