0
0
Fork 0

Rename jobs/attachments rspec tag names (#29762)

This commit is contained in:
Matt Jankowski 2024-07-08 12:01:08 -04:00 committed by GitHub
parent 79b0e192d9
commit f1300ad284
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 76 additions and 76 deletions

View file

@ -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(

View file

@ -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) }

View file

@ -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? }

View file

@ -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