mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
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:
parent
2d7d2c1bac
commit
3e4d4d13bf
@ -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 => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user