|
|
|
@ -67,7 +67,7 @@ describe Notifications::CreateFromModelService, 'message', with_settings: { jour |
|
|
|
|
it_behaves_like 'creates notification' do |
|
|
|
|
let(:notification_channel_reasons) do |
|
|
|
|
{ |
|
|
|
|
read_ian: false, |
|
|
|
|
read_ian: nil, |
|
|
|
|
reason: :subscribed, |
|
|
|
|
mail_reminder_sent: nil, |
|
|
|
|
mail_alert_sent: false |
|
|
|
@ -110,7 +110,7 @@ describe Notifications::CreateFromModelService, 'message', with_settings: { jour |
|
|
|
|
it_behaves_like 'creates notification' do |
|
|
|
|
let(:notification_channel_reasons) do |
|
|
|
|
{ |
|
|
|
|
read_ian: false, |
|
|
|
|
read_ian: nil, |
|
|
|
|
reason: :watched, |
|
|
|
|
mail_reminder_sent: nil, |
|
|
|
|
mail_alert_sent: false |
|
|
|
@ -157,7 +157,7 @@ describe Notifications::CreateFromModelService, 'message', with_settings: { jour |
|
|
|
|
it_behaves_like 'creates notification' do |
|
|
|
|
let(:notification_channel_reasons) do |
|
|
|
|
{ |
|
|
|
|
read_ian: false, |
|
|
|
|
read_ian: nil, |
|
|
|
|
reason: :watched, |
|
|
|
|
mail_reminder_sent: nil, |
|
|
|
|
mail_alert_sent: false |
|
|
|
@ -199,7 +199,7 @@ describe Notifications::CreateFromModelService, 'message', with_settings: { jour |
|
|
|
|
it_behaves_like 'creates notification' do |
|
|
|
|
let(:notification_channel_reasons) do |
|
|
|
|
{ |
|
|
|
|
read_ian: false, |
|
|
|
|
read_ian: nil, |
|
|
|
|
reason: :subscribed, |
|
|
|
|
mail_reminder_sent: nil, |
|
|
|
|
mail_alert_sent: false |
|
|
|
@ -242,7 +242,7 @@ describe Notifications::CreateFromModelService, 'message', with_settings: { jour |
|
|
|
|
it_behaves_like 'creates notification' do |
|
|
|
|
let(:notification_channel_reasons) do |
|
|
|
|
{ |
|
|
|
|
read_ian: false, |
|
|
|
|
read_ian: nil, |
|
|
|
|
reason: :watched, |
|
|
|
|
mail_reminder_sent: nil, |
|
|
|
|
mail_alert_sent: false |
|
|
|
@ -289,7 +289,7 @@ describe Notifications::CreateFromModelService, 'message', with_settings: { jour |
|
|
|
|
it_behaves_like 'creates notification' do |
|
|
|
|
let(:notification_channel_reasons) do |
|
|
|
|
{ |
|
|
|
|
read_ian: false, |
|
|
|
|
read_ian: nil, |
|
|
|
|
reason: :watched, |
|
|
|
|
mail_reminder_sent: nil, |
|
|
|
|
mail_alert_sent: false |
|
|
|
|