Fix RuboCop offense Rails/FreezeTime (#37248).

git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2022-10-27 23:42:31 +00:00
parent 2d7d2c1bac
commit 3e4d4d13bf

View File

@@ -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 => {