X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06915a77b5af2ab0354e895c3c1ceb0e028f37fb..d8400320a78632f8ece9b5a27d6e0811e7bab8e1:/test/factories/old_way.rb?ds=sidebyside diff --git a/test/factories/old_way.rb b/test/factories/old_way.rb index 4fc0721d7..b91bf8bf5 100644 --- a/test/factories/old_way.rb +++ b/test/factories/old_way.rb @@ -1,10 +1,10 @@ FactoryBot.define do factory :old_way do - timestamp { Time.now } + timestamp { Time.now.utc } visible { true } version { 1 } changeset - association :current_way, :factory => :way + current_way :factory => :way end end