X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..09225bc02df4eedd0f90376f1b86cb059de38d31:/test/factories/old_way.rb?ds=sidebyside diff --git a/test/factories/old_way.rb b/test/factories/old_way.rb index a7d5bdbe8..265a477d3 100644 --- a/test/factories/old_way.rb +++ b/test/factories/old_way.rb @@ -1,8 +1,8 @@ -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