Enable FactoryBot/AttributeDefinedStatically

See https://robots.thoughtbot.com/deprecating-static-attributes-in-factory_bot-4-11
This commit is contained in:
Henne Vogelsang 2018-09-08 03:58:50 +02:00
parent 5fc867a8fc
commit f866974b19
28 changed files with 146 additions and 140 deletions

View file

@ -6,8 +6,8 @@ FactoryBot.define do
factory :cfp do
start_date { 1.day.ago }
end_date { 2.days.from_now }
cfp_type 'events'
description 'This is a test description'
cfp_type { 'events' }
description { 'This is a test description' }
program
end
end