Commit 8a5d5b40 authored by Markus Koller's avatar Markus Koller

Merge branch '257438-InvitesController-ruby2.7' into 'master'

Fix Ruby 2.7 deprecation warnings in invites_controller_spec.rb

See merge request gitlab-org/gitlab!43710
parents 3b4742a7 34106a72
...@@ -109,8 +109,8 @@ RSpec.describe InvitesController, :snowplow do ...@@ -109,8 +109,8 @@ RSpec.describe InvitesController, :snowplow do
it 'tracks the user as experiment group' do it 'tracks the user as experiment group' do
request request
expect_snowplow_event(snowplow_event.merge(action: 'opened')) expect_snowplow_event(**snowplow_event.merge(action: 'opened'))
expect_snowplow_event(snowplow_event.merge(action: 'accepted')) expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end end
end end
...@@ -121,8 +121,8 @@ RSpec.describe InvitesController, :snowplow do ...@@ -121,8 +121,8 @@ RSpec.describe InvitesController, :snowplow do
it 'tracks the user as control group' do it 'tracks the user as control group' do
request request
expect_snowplow_event(snowplow_event.merge(action: 'opened')) expect_snowplow_event(**snowplow_event.merge(action: 'opened'))
expect_snowplow_event(snowplow_event.merge(action: 'accepted')) expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end end
end end
...@@ -173,7 +173,7 @@ RSpec.describe InvitesController, :snowplow do ...@@ -173,7 +173,7 @@ RSpec.describe InvitesController, :snowplow do
it 'tracks the user as experiment group' do it 'tracks the user as experiment group' do
request request
expect_snowplow_event(snowplow_event.merge(action: 'accepted')) expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end end
end end
...@@ -184,7 +184,7 @@ RSpec.describe InvitesController, :snowplow do ...@@ -184,7 +184,7 @@ RSpec.describe InvitesController, :snowplow do
it 'tracks the user as control group' do it 'tracks the user as control group' do
request request
expect_snowplow_event(snowplow_event.merge(action: 'accepted')) expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment