Enable FactoryBot/AttributeDefinedStatically
See https://robots.thoughtbot.com/deprecating-static-attributes-in-factory_bot-4-11
This commit is contained in:
parent
5fc867a8fc
commit
f866974b19
28 changed files with 146 additions and 140 deletions
|
|
@ -9,10 +9,10 @@ FactoryBot.define do
|
|||
timezone { Faker::Address.time_zone }
|
||||
start_date { Time.zone.today }
|
||||
end_date { 6.days.from_now }
|
||||
start_hour 9
|
||||
end_hour 20
|
||||
registration_limit 0
|
||||
ticket_layout 'portrait'
|
||||
start_hour { 9 }
|
||||
end_hour { 20 }
|
||||
registration_limit { 0 }
|
||||
ticket_layout { 'portrait' }
|
||||
description { Faker::Hipster.paragraph }
|
||||
organization
|
||||
after(:create) do |conference|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue