Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/sidebars/admin/panel_spec.rb')
-rw-r--r--spec/lib/sidebars/admin/panel_spec.rb8
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