Autofix Rubocop RSpec/LeadingSubject (#23670)
This commit is contained in:
parent
4ea1e0fceb
commit
4552685f6b
78 changed files with 256 additions and 338 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue