diff --git a/spec/factories/notifications.rb b/spec/factories/notifications.rb index b79b478c4..f45453fcd 100644 --- a/spec/factories/notifications.rb +++ b/spec/factories/notifications.rb @@ -9,8 +9,8 @@ FactoryBot.define do end factory :admin_notification do - title { |n| "Admin Notification title #{n}" } - body { |n| "Admin Notification body #{n}" } + sequence(:title) { |n| "Admin Notification title #{n}" } + sequence(:body) { |n| "Admin Notification body #{n}" } link { nil } segment_recipient { UserSegments::SEGMENTS.sample } recipients_count { nil }