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
01b201d7
Commit
01b201d7
authored
Oct 25, 2019
by
Alex Buijs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove flaky spec
parent
6d33980e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
spec/lib/gitlab/experimentation_spec.rb
spec/lib/gitlab/experimentation_spec.rb
+3
-15
No files found.
spec/lib/gitlab/experimentation_spec.rb
View file @
01b201d7
...
...
@@ -73,22 +73,10 @@ describe Gitlab::Experimentation do
end
describe
'URL parameter to force enable experiment'
do
context
'is not present'
do
# Disabled until https://gitlab.com/gitlab-org/gitlab/issues/34942 is solved properly
xit
'returns false'
do
get
:index
,
params:
{
force_experiment: :test_experiment2
}
it
'returns true'
do
get
:index
,
params:
{
force_experiment: :test_experiment
}
expect
(
controller
.
experiment_enabled?
(
:test_experiment
)).
to
be_falsey
end
end
context
'is present'
do
# Disabled until https://gitlab.com/gitlab-org/gitlab/issues/34942 is solved properly
xit
'returns true'
do
get
:index
,
params:
{
force_experiment: :test_experiment
}
expect
(
controller
.
experiment_enabled?
(
:test_experiment
)).
to
be_truthy
end
expect
(
controller
.
experiment_enabled?
(
:test_experiment
)).
to
be_truthy
end
end
end
...
...
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