summaryrefslogtreecommitdiff
path: root/spec/helpers/user_callouts_helper_spec.rb
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2019-08-14 17:53:07 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-08-14 17:53:07 +0000
commitdf905b408017e208a15597fb03a684f6a68d5e5f (patch)
tree2a0c3ec9bc6306f5743a2c92c5c592ab7a29b556 /spec/helpers/user_callouts_helper_spec.rb
parent51f40bf9715a29a29e4b08b8175935c6e261fcda (diff)
downloadgitlab-ce-df905b408017e208a15597fb03a684f6a68d5e5f.tar.gz
Revert "Merge branch '64341-data-and-privacy-agreement-for-gitlab-users' into 'master'"
This reverts merge request !30808
Diffstat (limited to 'spec/helpers/user_callouts_helper_spec.rb')
-rw-r--r--spec/helpers/user_callouts_helper_spec.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/helpers/user_callouts_helper_spec.rb b/spec/helpers/user_callouts_helper_spec.rb
index c85f3622464..8fa479a4474 100644
--- a/spec/helpers/user_callouts_helper_spec.rb
+++ b/spec/helpers/user_callouts_helper_spec.rb
@@ -45,26 +45,6 @@ describe UserCalloutsHelper do
end
end
- describe '.show_privacy_policy_update_64341?' do
- subject { helper.show_privacy_policy_update_64341? }
-
- context 'when user has not dismissed' do
- before do
- allow(helper).to receive(:user_dismissed?).and_return(false)
- end
-
- it { is_expected.to be true }
- end
-
- context 'when user dismissed' do
- before do
- allow(helper).to receive(:user_dismissed?).and_return(true)
- end
-
- it { is_expected.to be false }
- end
- end
-
describe '.render_flash_user_callout' do
it 'renders the flash_user_callout partial' do
expect(helper).to receive(:render)