Commit 01b201d7 authored by Alex Buijs's avatar Alex Buijs

Remove flaky spec

parent 6d33980e
......@@ -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
......
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