diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 21:08:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 21:08:57 +0300 |
commit | d8121cb00b8bbd281d7362902590b110639bdeba (patch) | |
tree | 0a0f71b247b232773a46732d9f74aa3cfed0ef1a /spec/features/groups | |
parent | 536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/groups')
-rw-r--r-- | spec/features/groups/navbar_spec.rb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/spec/features/groups/navbar_spec.rb b/spec/features/groups/navbar_spec.rb index e348eb80b1a..5662465d431 100644 --- a/spec/features/groups/navbar_spec.rb +++ b/spec/features/groups/navbar_spec.rb @@ -7,14 +7,22 @@ describe 'Group navbar' do let(:user) { create(:user) } let(:group) { create(:group) } + let(:analytics_nav_item) do + { + nav_item: _('Analytics'), + nav_sub_items: [ + _('Contribution Analytics') + ] + } + end + let(:structure) do [ { nav_item: _('Group overview'), nav_sub_items: [ _('Details'), - _('Activity'), - (_('Contribution Analytics') if Gitlab.ee?) + _('Activity') ] }, { @@ -34,6 +42,7 @@ describe 'Group navbar' do nav_item: _('Kubernetes'), nav_sub_items: [] }, + (analytics_nav_item if Gitlab.ee?), { nav_item: _('Members'), nav_sub_items: [] |