summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-10-27 23:42:31 +0000
committerGo MAEDA <maeda@farend.jp>2022-10-27 23:42:31 +0000
commit3e4d4d13bf40ce3b29b45bbb9052c0923a363bad (patch)
treec2957663f89fb7af8d82889aeed0bb885252bdba /test
parent2d7d2c1bac9d6b2ea9b98c20f396594817c9d4ab (diff)
downloadredmine-3e4d4d13bf40ce3b29b45bbb9052c0923a363bad.tar.gz
redmine-3e4d4d13bf40ce3b29b45bbb9052c0923a363bad.zip
Fix RuboCop offense Rails/FreezeTime (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/projects_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index 9b0076862..12da256c4 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -1100,7 +1100,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
project.update_attribute :updated_on, nil
assert_equal 'Stable', project.custom_value_for(3).value
- travel_to Time.current do
+ freeze_time do
post(
:update,
:params => {