diff options
Diffstat (limited to 'spec/controllers/groups_controller_spec.rb')
-rw-r--r-- | spec/controllers/groups_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb index 90b38799629..939c36a98b2 100644 --- a/spec/controllers/groups_controller_spec.rb +++ b/spec/controllers/groups_controller_spec.rb @@ -333,7 +333,7 @@ RSpec.describe GroupsController, factory_default: :keep do context 'and the user is part of the control group' do before do - stub_experiment_for_user(onboarding_issues: false) + stub_experiment_for_subject(onboarding_issues: false) end it 'tracks the event with the "created_namespace" action with the "control_group" property', :snowplow do @@ -350,7 +350,7 @@ RSpec.describe GroupsController, factory_default: :keep do context 'and the user is part of the experimental group' do before do - stub_experiment_for_user(onboarding_issues: true) + stub_experiment_for_subject(onboarding_issues: true) end it 'tracks the event with the "created_namespace" action with the "experimental_group" property', :snowplow do |