From 3e4d4d13bf40ce3b29b45bbb9052c0923a363bad Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 27 Oct 2022 23:42:31 +0000 Subject: Fix RuboCop offense Rails/FreezeTime (#37248). git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/projects_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 => { -- cgit v1.2.3