* 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
6 lines
137 B
Ruby
6 lines
137 B
Ruby
FactoryBot.define do
|
|
factory :context_notification do
|
|
action { "Published" }
|
|
association :context, factory: :article
|
|
end
|
|
end
|