diff options
Diffstat (limited to 'test/functional/my_controller_test.rb')
-rw-r--r-- | test/functional/my_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb index 312bbd09a..e789119a9 100644 --- a/test/functional/my_controller_test.rb +++ b/test/functional/my_controller_test.rb @@ -208,7 +208,7 @@ class MyControllerTest < Redmine::ControllerTest assert_select 'div#block-activity' do assert_select 'h3' do - assert_select 'a[href=?]', activity_path(from: Date.today, user_id: user.id), :text => 'Activity' + assert_select 'a[href=?]', activity_path(from: Date.current, user_id: user.id), :text => 'Activity' end assert_select 'div#activity' do assert_select 'dt', 10 |