Fix FactoryBot deprecation warnings

This commit is contained in:
Tom Hughes 2018-08-28 19:12:01 +01:00
parent 6c597f614b
commit 06915a77b5
22 changed files with 70 additions and 70 deletions

View file

@ -5,15 +5,15 @@ FactoryBot.define do
user
timestamp Time.now
inserted true
timestamp { Time.now }
inserted { true }
trait :deleted do
visible false
visible { false }
end
transient do
fixture nil
fixture { nil }
end
after(:create) do |trace, evaluator|