X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05a42281abae3e981874b1935b988eb05b1efad6..4a38b3eea4bc36dcbcf625e46689688f3b5b12e2:/test/factories/old_way.rb?ds=inline 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