mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 07:46:02 +01:00
Fix a test failure in test/functional/my_controller_test.rb that depends on time and zone (#2471).
git-svn-id: http://svn.redmine.org/redmine/trunk@17465 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user