Skip to content

Commit

Permalink
Merge pull request #1662 from etalab/bugfix/strange-error
Browse files Browse the repository at this point in the history
FIX develop
  • Loading branch information
skelz0r authored Sep 12, 2024
2 parents ce3bf2d + 8ea1da8 commit 6ced83a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/mailers/api_particulier/reporters_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
end

describe '#submit' do
let(:authorization_request) { create(:authorization_request, :with_demandeur) }

subject(:mail) do
described_class.with(groups: %w[cnaf_ men_], authorization_request:).submit
end

let(:authorization_request) { create(:authorization_request, :with_demandeur) }

it 'has a link to public id' do
expect(mail.body.encoded).to include(authorization_request.public_id)
end
Expand Down
4 changes: 2 additions & 2 deletions spec/organizers/user/transfer_account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
let(:target_user_email) { 'already@known.com' }

context 'when the target user already exists' do
let!(:target_user) { create(:user, email: target_user_email) }
let!(:target_user) { create(:user, :with_token, email: target_user_email) }

it { is_expected.to be_a_success }

Expand Down Expand Up @@ -153,7 +153,7 @@
let(:target_user_email) { 'already@known.com' }

context 'when the target user already exists' do
let!(:target_user) { create(:user, email: target_user_email) }
let!(:target_user) { create(:user, :with_token, email: target_user_email) }

it { is_expected.to be_a_success }

Expand Down

0 comments on commit 6ced83a

Please sign in to comment.