Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8eea0690
Commit
8eea0690
authored
Nov 16, 2020
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up new_create_project_ui experiment tests
parent
033a3c98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
spec/controllers/projects_controller_spec.rb
spec/controllers/projects_controller_spec.rb
+0
-21
spec/lib/gitlab/experimentation_spec.rb
spec/lib/gitlab/experimentation_spec.rb
+0
-1
No files found.
spec/controllers/projects_controller_spec.rb
View file @
8eea0690
...
@@ -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
...
...
spec/lib/gitlab/experimentation_spec.rb
View file @
8eea0690
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment