X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..3c7b7cef70bbe705498a7f322374ff33e2a19142:/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