diff options
Diffstat (limited to 'spec/controllers/sent_notifications_controller_spec.rb')
-rw-r--r-- | spec/controllers/sent_notifications_controller_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/sent_notifications_controller_spec.rb b/spec/controllers/sent_notifications_controller_spec.rb index 0c4a77d5926..02aaa5b16f1 100644 --- a/spec/controllers/sent_notifications_controller_spec.rb +++ b/spec/controllers/sent_notifications_controller_spec.rb @@ -216,6 +216,7 @@ RSpec.describe SentNotificationsController do merge_request.subscriptions.create(user: user, project: project, subscribed: true) end end + let(:sent_notification) { create(:sent_notification, project: project, noteable: merge_request, recipient: user) } before do |