X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/420a7289a0b08eee091f6650c2e83166df3fbe69..b3f8d9435a30f43b969bb8e3bfcc2386ef0aa4a7:/test/factories/old_relation.rb diff --git a/test/factories/old_relation.rb b/test/factories/old_relation.rb index 8fdb23f58..facf06dc0 100644 --- a/test/factories/old_relation.rb +++ b/test/factories/old_relation.rb @@ -1,10 +1,10 @@ FactoryBot.define do factory :old_relation do - timestamp { Time.now } + timestamp { Time.now.utc } visible { true } version { 1 } changeset - association :current_relation, :factory => :relation + current_relation :factory => :relation end end