Fix FactoryBot deprecation warnings
This commit is contained in:
parent
6c597f614b
commit
06915a77b5
22 changed files with 70 additions and 70 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue