diff options
Diffstat (limited to 'spec/lib/sidebars')
-rw-r--r-- | spec/lib/sidebars/projects/menus/monitor_menu_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/lib/sidebars/projects/menus/monitor_menu_spec.rb b/spec/lib/sidebars/projects/menus/monitor_menu_spec.rb index 9d5845d20e5..b11c9db4e46 100644 --- a/spec/lib/sidebars/projects/menus/monitor_menu_spec.rb +++ b/spec/lib/sidebars/projects/menus/monitor_menu_spec.rb @@ -82,6 +82,20 @@ RSpec.describe Sidebars::Projects::Menus::MonitorMenu do end end + describe 'Tracing' do + let(:item_id) { :tracing } + + it_behaves_like 'access rights checks' + + context 'when feature disabled' do + before do + stub_feature_flags(monitor_tracing: false) + end + + specify { is_expected.to be_nil } + end + end + describe 'Error Tracking' do let(:item_id) { :error_tracking } |