diff options
Diffstat (limited to 'spec/lib/sidebars/projects/menus/scope_menu_spec.rb')
-rw-r--r-- | spec/lib/sidebars/projects/menus/scope_menu_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/sidebars/projects/menus/scope_menu_spec.rb b/spec/lib/sidebars/projects/menus/scope_menu_spec.rb index 5040ef9b0ff..980ab2f7c71 100644 --- a/spec/lib/sidebars/projects/menus/scope_menu_spec.rb +++ b/spec/lib/sidebars/projects/menus/scope_menu_spec.rb @@ -12,4 +12,10 @@ RSpec.describe Sidebars::Projects::Menus::ScopeMenu do specify { is_expected.to match(hash_including(class: 'shortcuts-project rspec-project-link')) } end + + describe '#extra_nav_link_html_options' do + subject { described_class.new(context).extra_nav_link_html_options } + + specify { is_expected.to match(hash_including(class: 'context-header has-tooltip', title: context.project.name)) } + end end |