mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01: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:
@@ -1100,7 +1100,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
|
|||||||
project.update_attribute :updated_on, nil
|
project.update_attribute :updated_on, nil
|
||||||
assert_equal 'Stable', project.custom_value_for(3).value
|
assert_equal 'Stable', project.custom_value_for(3).value
|
||||||
|
|
||||||
travel_to Time.current do
|
freeze_time do
|
||||||
post(
|
post(
|
||||||
:update,
|
:update,
|
||||||
:params => {
|
:params => {
|
||||||
|
|||||||
Reference in New Issue
Block a user