Rename jobs/attachments rspec tag names (#29762)
This commit is contained in:
parent
79b0e192d9
commit
f1300ad284
63 changed files with 76 additions and 76 deletions
|
@ -34,7 +34,7 @@ RSpec.describe Admin::Disputes::AppealsController do
|
|||
|
||||
let(:current_user) { Fabricate(:user, role: UserRole.find_by(name: 'Admin')) }
|
||||
|
||||
it 'redirects back to the strike page and notifies target account about approved appeal', :sidekiq_inline do
|
||||
it 'redirects back to the strike page and notifies target account about approved appeal', :inline_jobs do
|
||||
emails = capture_emails { subject }
|
||||
|
||||
expect(response)
|
||||
|
@ -58,7 +58,7 @@ RSpec.describe Admin::Disputes::AppealsController do
|
|||
|
||||
let(:current_user) { Fabricate(:user, role: UserRole.find_by(name: 'Admin')) }
|
||||
|
||||
it 'redirects back to the strike page and notifies target account about rejected appeal', :sidekiq_inline do
|
||||
it 'redirects back to the strike page and notifies target account about rejected appeal', :inline_jobs do
|
||||
emails = capture_emails { subject }
|
||||
|
||||
expect(response)
|
||||
|
|
|
@ -176,7 +176,7 @@ RSpec.describe Admin::DomainBlocksController do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'PUT #update', :sidekiq_inline do
|
||||
describe 'PUT #update', :inline_jobs do
|
||||
subject do
|
||||
post :update, params: { :id => domain_block.id, :domain_block => { domain: 'example.com', severity: new_severity }, 'confirm' => '' }
|
||||
end
|
||||
|
|
|
@ -13,7 +13,7 @@ describe Admin::ResetsController do
|
|||
sign_in Fabricate(:user, role: UserRole.find_by(name: 'Admin')), scope: :user
|
||||
end
|
||||
|
||||
describe 'POST #create', :sidekiq_inline do
|
||||
describe 'POST #create', :inline_jobs do
|
||||
it 'redirects to admin accounts page' do
|
||||
emails = capture_emails { subject }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue