Autofix Rubocop RSpec/LeadingSubject (#23670)
This commit is contained in:
@@ -142,10 +142,10 @@ RSpec.describe User, type: :model do
|
||||
end
|
||||
|
||||
describe '#confirm' do
|
||||
let(:new_email) { 'new-email@example.com' }
|
||||
|
||||
subject { user.confirm }
|
||||
|
||||
let(:new_email) { 'new-email@example.com' }
|
||||
|
||||
before do
|
||||
allow(TriggerWebhookWorker).to receive(:perform_async)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user