X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..650ecfa7df483a9ba4a6959554fb77b9cfdd2144:/test/factories/relation.rb diff --git a/test/factories/relation.rb b/test/factories/relation.rb index 44f18f491..6d43df0a3 100644 --- a/test/factories/relation.rb +++ b/test/factories/relation.rb @@ -1,13 +1,13 @@ -FactoryGirl.define do +FactoryBot.define do factory :relation do - timestamp Time.now - visible true - version 1 + timestamp { Time.now.utc } + visible { true } + version { 1 } changeset trait :deleted do - visible false + visible { false } end trait :with_history do