X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3f3ffdfea1ecb57fb95e24b71ed070c8f9fbedbd..4543e85441b758edaf7b4a8f7ed589ca428a9be7:/test/factories/relation.rb?ds=inline diff --git a/test/factories/relation.rb b/test/factories/relation.rb index 44f18f491..8bb00e287 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 } + visible { true } + version { 1 } changeset trait :deleted do - visible false + visible { false } end trait :with_history do