X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6e5240e1987a429e29d230e811af9176772a8228..e7f943c715d7104fd4f22fe59a79a5d52e71a7c4:/test/factories/old_way.rb diff --git a/test/factories/old_way.rb b/test/factories/old_way.rb index a7d5bdbe8..4fc0721d7 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 } + visible { true } + version { 1 } changeset association :current_way, :factory => :way