diff --git a/Gemfile.lock b/Gemfile.lock index a37745695..ba758364a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -101,7 +101,7 @@ GEM capybara (>= 2.1, < 4) ferrum (~> 0.11.0) debug_inspector (1.1.0) - diff-lcs (1.4.4) + diff-lcs (1.5.0) docile (1.4.0) domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) @@ -340,18 +340,18 @@ GEM rspec-mocks (~> 3.10.0) rspec-collection_matchers (1.2.0) rspec-expectations (>= 2.99.0.beta1) - rspec-core (3.10.1) + rspec-core (3.10.2) rspec-support (~> 3.10.0) - rspec-expectations (3.10.1) + rspec-expectations (3.10.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.10.2) + rspec-mocks (3.10.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) - rspec-rails (5.0.2) + rspec-rails (5.1.1) actionpack (>= 5.2) activesupport (>= 5.2) railties (>= 5.2) @@ -361,7 +361,7 @@ GEM rspec-support (~> 3.10) rspec-retry (0.6.2) rspec-core (> 3.3) - rspec-support (3.10.2) + rspec-support (3.10.3) rubocop (1.25.1) parallel (~> 1.10) parser (>= 3.1.0.0) diff --git a/spec/features/signin_process_spec.rb b/spec/features/signin_process_spec.rb index 4215de9ac..306936c11 100644 --- a/spec/features/signin_process_spec.rb +++ b/spec/features/signin_process_spec.rb @@ -55,7 +55,7 @@ it 'sends an email to DataPass to update the authorization request owner' do expect { subject } .to have_enqueued_mail(UserMailer, :notify_datapass_for_data_reconciliation) - .with(args: [user]) + .with(user) end it 'redirects to the user profile' do diff --git a/spec/organizers/token/deliver_magic_link_to_email_spec.rb b/spec/organizers/token/deliver_magic_link_to_email_spec.rb index 65e59003d..b08d1ac82 100644 --- a/spec/organizers/token/deliver_magic_link_to_email_spec.rb +++ b/spec/organizers/token/deliver_magic_link_to_email_spec.rb @@ -19,7 +19,7 @@ it 'queues the magic link email' do expect { subject } .to have_enqueued_mail(JwtAPIEntrepriseMailer, :magic_link) - .with(args: [email, token]) + .with(email, token) end it 'saves a magic token' do diff --git a/spec/organizers/user/login_spec.rb b/spec/organizers/user/login_spec.rb index 608240a5b..22a496a09 100644 --- a/spec/organizers/user/login_spec.rb +++ b/spec/organizers/user/login_spec.rb @@ -41,7 +41,7 @@ it 'sends an email to datapass for authorization request ownership update' do expect { sync! } .to have_enqueued_mail(UserMailer, :notify_datapass_for_data_reconciliation) - .with(args: [user]) + .with(user) end it 'does not send emails on second login' do diff --git a/spec/support/shared_examples/token_magic_link.rb b/spec/support/shared_examples/token_magic_link.rb index 1065df9d4..a5503bcf5 100644 --- a/spec/support/shared_examples/token_magic_link.rb +++ b/spec/support/shared_examples/token_magic_link.rb @@ -4,7 +4,7 @@ it 'sends the email magic link' do expect { subject } .to have_enqueued_mail(JwtAPIEntrepriseMailer, :magic_link) - .with(args: [email, token]) + .with(email, token) end describe 'the token record' do