浏览代码

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
tags/4.0.0
Go MAEDA 5 年前
父节点
当前提交
f42c4be21e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      test/functional/my_controller_test.rb

+ 1
- 1
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

正在加载...
取消
保存