Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-01 09:07:50 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-01 09:07:50 +0300
commite50050a8756a20b6aa118edbad3369674e4c63ba (patch)
tree0f9ae83c168b01707753e066294f7b55aa0968a5 /spec/helpers
parent1dffba3bd853076efc1107b2dd63e221e75a210c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/nav_helper_spec.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/helpers/nav_helper_spec.rb b/spec/helpers/nav_helper_spec.rb
index 6bdbec1203c..f92dca11136 100644
--- a/spec/helpers/nav_helper_spec.rb
+++ b/spec/helpers/nav_helper_spec.rb
@@ -117,24 +117,4 @@ describe NavHelper, :do_not_mock_admin_mode do
it { is_expected.to all(be_a(String)) }
end
-
- describe '.show_user_notification_dot?' do
- subject { helper.show_user_notification_dot? }
-
- context 'when experiment is disabled' do
- before do
- allow(helper).to receive(:experiment_enabled?).with(:ci_notification_dot).and_return(false)
- end
-
- it { is_expected.to be_falsey }
- end
-
- context 'when experiment is enabled' do
- before do
- allow(helper).to receive(:experiment_enabled?).with(:ci_notification_dot).and_return(true)
- end
-
- it { is_expected.to be_truthy }
- end
- end
end