Merge commit '3987b9fd624010eeeaeb7cad96606b05aa813f6a' into glitch-soc/stable-4.7
This commit is contained in:
commit
f8df1997cc
21 files changed
+102
-22
No files matched your search
@@ -122,7 +122,9 @@ RSpec.describe 'Requests' do
|
||||
it_behaves_like 'forbidden for wrong scope', 'read read:notifications'
|
||||
|
||||
it 'returns http success and destroys the notification request', :aggregate_failures do
|
||||
expect { subject }.to change(NotificationRequest, :count).by(-1)
|
||||
expect { subject }
|
||||
.to change(NotificationRequest, :count).by(-1)
|
||||
.and enqueue_sidekiq_job(FilteredNotificationCleanupWorker).with(user.account_id, be_a(Array))
|
||||
|
||||
expect(response).to have_http_status(200)
|
||||
expect(response.content_type)
|
||||
|
||||
Reference in new issue
Block a user