diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
commit | 5afcbe03ead9ada87621888a31a62652b10a7e4f (patch) | |
tree | 9918b67a0d0f0bafa6542e839a8be37adf73102d /spec/lib/sidebars/admin/panel_spec.rb | |
parent | c97c0201564848c1f53226fe19d71fdcc472f7d0 (diff) |
Add latest changes from gitlab-org/gitlab@16-4-stable-eev16.4.0-rc42
Diffstat (limited to 'spec/lib/sidebars/admin/panel_spec.rb')
-rw-r--r-- | spec/lib/sidebars/admin/panel_spec.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/lib/sidebars/admin/panel_spec.rb b/spec/lib/sidebars/admin/panel_spec.rb index 9c362f527f5..83ad867050c 100644 --- a/spec/lib/sidebars/admin/panel_spec.rb +++ b/spec/lib/sidebars/admin/panel_spec.rb @@ -18,14 +18,10 @@ RSpec.describe Sidebars::Admin::Panel, feature_category: :navigation do describe '#super_sidebar_context_header' do it 'returns a hash with the correct title and icon' do - expected_header = { - title: panel.aria_label, - icon: 'admin' - } - - expect(panel.super_sidebar_context_header).to eq(expected_header) + expect(panel.super_sidebar_context_header).to eq(_('Admin Area')) end end it_behaves_like 'a panel with uniquely identifiable menu items' + it_behaves_like 'a panel instantiable by the anonymous user' end |