Skip to content
代码片段 群组 项目
提交 34106a72 编辑于 作者: Steve Abrams's avatar Steve Abrams
浏览文件

Fix Ruby 2.7 deprecation warnings in invites_controller_spec.rb

上级 3df1baec
No related branches found
No related tags found
无相关合并请求
......@@ -109,8 +109,8 @@
it 'tracks the user as experiment group' do
request
expect_snowplow_event(snowplow_event.merge(action: 'opened'))
expect_snowplow_event(snowplow_event.merge(action: 'accepted'))
expect_snowplow_event(**snowplow_event.merge(action: 'opened'))
expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end
end
......@@ -121,8 +121,8 @@
it 'tracks the user as control group' do
request
expect_snowplow_event(snowplow_event.merge(action: 'opened'))
expect_snowplow_event(snowplow_event.merge(action: 'accepted'))
expect_snowplow_event(**snowplow_event.merge(action: 'opened'))
expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end
end
......@@ -173,7 +173,7 @@
it 'tracks the user as experiment group' do
request
expect_snowplow_event(snowplow_event.merge(action: 'accepted'))
expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end
end
......@@ -184,7 +184,7 @@
it 'tracks the user as control group' do
request
expect_snowplow_event(snowplow_event.merge(action: 'accepted'))
expect_snowplow_event(**snowplow_event.merge(action: 'accepted'))
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册