]>
git.openstreetmap.org Git - rails.git/blobdiff - test/factories/relation.rb
-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