X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6e5240e1987a429e29d230e811af9176772a8228..be0e33862fedbf02e52a9e126cac31dfb5775b43:/test/factories/old_relation.rb diff --git a/test/factories/old_relation.rb b/test/factories/old_relation.rb index c4b29fad4..8fdb23f58 100644 --- a/test/factories/old_relation.rb +++ b/test/factories/old_relation.rb @@ -1,8 +1,8 @@ -FactoryGirl.define do +FactoryBot.define do factory :old_relation do - timestamp Time.now - visible true - version 1 + timestamp { Time.now } + visible { true } + version { 1 } changeset association :current_relation, :factory => :relation