Commit f1c1363b authored by maeda's avatar maeda

Fix a test failure in test/functional/my_controller_test.rb that depends on time and zone (#2471).


git-svn-id: https://svn.redmine.org/redmine/trunk@17465 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 711331af
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment