X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..53817fa9e8d955df0891d156f21b7269b4ed08fc:/test/factories/old_way.rb diff --git a/test/factories/old_way.rb b/test/factories/old_way.rb index a7d5bdbe8..b91bf8bf5 100644 --- a/test/factories/old_way.rb +++ b/test/factories/old_way.rb @@ -1,10 +1,10 @@ -FactoryGirl.define do +FactoryBot.define do factory :old_way do - timestamp Time.now - visible true - version 1 + timestamp { Time.now.utc } + visible { true } + version { 1 } changeset - association :current_way, :factory => :way + current_way :factory => :way end end