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
|
@ -69,7 +69,7 @@ RSpec.describe Admin::AccountAction do
|
|||
end
|
||||
end
|
||||
|
||||
it 'sends email to target account user', :sidekiq_inline do
|
||||
it 'sends email to target account user', :inline_jobs do
|
||||
emails = capture_emails { subject }
|
||||
|
||||
expect(emails).to contain_exactly(
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe CustomEmoji, :paperclip_processing do
|
||||
RSpec.describe CustomEmoji, :attachment_processing do
|
||||
describe '#search' do
|
||||
subject { described_class.search(search_term) }
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe MediaAttachment, :paperclip_processing do
|
||||
RSpec.describe MediaAttachment, :attachment_processing do
|
||||
describe 'local?' do
|
||||
subject { media_attachment.local? }
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ RSpec.describe User do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'scopes', :sidekiq_inline do
|
||||
describe 'scopes', :inline_jobs do
|
||||
describe 'recent' do
|
||||
it 'returns an array of recent users ordered by id' do
|
||||
first_user = Fabricate(:user)
|
||||
|
@ -507,7 +507,7 @@ RSpec.describe User do
|
|||
context 'when user is new' do
|
||||
let(:confirmed_at) { nil }
|
||||
|
||||
it 'confirms user and delivers welcome email', :sidekiq_inline do
|
||||
it 'confirms user and delivers welcome email', :inline_jobs do
|
||||
emails = capture_emails { subject }
|
||||
|
||||
expect(user.confirmed_at).to be_present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue