diff options
Diffstat (limited to 'spec/helpers/users/callouts_helper_spec.rb')
-rw-r--r-- | spec/helpers/users/callouts_helper_spec.rb | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/spec/helpers/users/callouts_helper_spec.rb b/spec/helpers/users/callouts_helper_spec.rb index 10f021330db..5ec06507088 100644 --- a/spec/helpers/users/callouts_helper_spec.rb +++ b/spec/helpers/users/callouts_helper_spec.rb @@ -2,7 +2,7 @@ require "spec_helper" -RSpec.describe Users::CalloutsHelper do +RSpec.describe Users::CalloutsHelper, feature_category: :navigation do let_it_be(:user, refind: true) { create(:user) } before do @@ -165,26 +165,6 @@ RSpec.describe Users::CalloutsHelper do end end - describe '.show_pages_menu_callout?' do - subject { helper.show_pages_menu_callout? } - - before do - allow(helper).to receive(:user_dismissed?).with(described_class::PAGES_MOVED_CALLOUT) { dismissed } - end - - context 'when user has not dismissed' do - let(:dismissed) { false } - - it { is_expected.to be true } - end - - context 'when user dismissed' do - let(:dismissed) { true } - - it { is_expected.to be false } - end - end - describe '#web_hook_disabled_dismissed?', feature_category: :webhooks do context 'without a project' do it 'is false' do |