Commit 8eea0690 authored by Dennis Tang's avatar Dennis Tang

Clean up new_create_project_ui experiment tests

parent 033a3c98
...@@ -41,27 +41,6 @@ RSpec.describe ProjectsController do ...@@ -41,27 +41,6 @@ RSpec.describe ProjectsController do
end end
end end
end end
context 'with the new_create_project_ui experiment enabled and the user is part of the control group' do
before do
stub_experiment(new_create_project_ui: true)
stub_experiment_for_user(new_create_project_ui: false)
allow_any_instance_of(described_class).to receive(:experimentation_subject_id).and_return('uuid')
end
it 'passes the right tracking parameters to the frontend' do
get(:new)
expect(Gon.tracking_data).to eq(
{
category: 'Manage::Import::Experiment::NewCreateProjectUi',
action: 'click_tab',
label: 'uuid',
property: 'control_group'
}
)
end
end
end end
end end
......
...@@ -13,7 +13,6 @@ RSpec.describe Gitlab::Experimentation::EXPERIMENTS do ...@@ -13,7 +13,6 @@ RSpec.describe Gitlab::Experimentation::EXPERIMENTS do
:invite_members_version_a, :invite_members_version_a,
:invite_members_version_b, :invite_members_version_b,
:invite_members_empty_group_version_a, :invite_members_empty_group_version_a,
:new_create_project_ui,
:contact_sales_btn_in_app, :contact_sales_btn_in_app,
:customize_homepage, :customize_homepage,
:invite_email, :invite_email,
......
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