docbrown/spec/factories/context_notifications.rb
Anna Buianova 05d0464a78
Context Notifications (#17243)
* ContextNotification model

* Create and destroy context notifications when notifications are sent/unsent

* Added a transaction when creating notifications and context notifications

* Documentation for context notifications
2022-04-18 10:30:30 +03:00

6 lines
137 B
Ruby

FactoryBot.define do
factory :context_notification do
action { "Published" }
association :context, factory: :article
end
end