diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-21 18:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-21 18:08:48 +0300 |
commit | 71c6e099a8b019ab7749e43b63885d52de60e316 (patch) | |
tree | e3a4e1251e208993555ed436d16d676d36a4e850 /spec/lib/sidebars | |
parent | e7198b914bf1d6594909e35d3d00d0a0b260f250 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/sidebars')
-rw-r--r-- | spec/lib/sidebars/projects/menus/infrastructure_menu_spec.rb | 12 | ||||
-rw-r--r-- | spec/lib/sidebars/projects/super_sidebar_menus/operations_menu_spec.rb | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/spec/lib/sidebars/projects/menus/infrastructure_menu_spec.rb b/spec/lib/sidebars/projects/menus/infrastructure_menu_spec.rb index 7f0e02892e4..346c681625a 100644 --- a/spec/lib/sidebars/projects/menus/infrastructure_menu_spec.rb +++ b/spec/lib/sidebars/projects/menus/infrastructure_menu_spec.rb @@ -64,13 +64,13 @@ RSpec.describe Sidebars::Projects::Menus::InfrastructureMenu, feature_category: subject.renderable_items.delete(find_menu_item(:kubernetes)) end - it 'menu link points to Terraform page' do - expect(subject.link).to eq find_menu_item(:terraform).link + it 'menu link points to Terraform states page' do + expect(subject.link).to eq find_menu_item(:terraform_states).link end - context 'when Terraform menu is not visible' do + context 'when Terraform states menu is not visible' do before do - subject.renderable_items.delete(find_menu_item(:terraform)) + subject.renderable_items.delete(find_menu_item(:terraform_states)) end it 'menu link points to Google Cloud page' do @@ -103,8 +103,8 @@ RSpec.describe Sidebars::Projects::Menus::InfrastructureMenu, feature_category: it_behaves_like 'access rights checks' end - describe 'Terraform' do - let(:item_id) { :terraform } + describe 'Terraform states' do + let(:item_id) { :terraform_states } it_behaves_like 'access rights checks' diff --git a/spec/lib/sidebars/projects/super_sidebar_menus/operations_menu_spec.rb b/spec/lib/sidebars/projects/super_sidebar_menus/operations_menu_spec.rb index 85162635857..8113c2b5b64 100644 --- a/spec/lib/sidebars/projects/super_sidebar_menus/operations_menu_spec.rb +++ b/spec/lib/sidebars/projects/super_sidebar_menus/operations_menu_spec.rb @@ -18,7 +18,7 @@ RSpec.describe Sidebars::Projects::SuperSidebarMenus::OperationsMenu, feature_ca :packages_registry, :container_registry, :kubernetes, - :terraform, + :terraform_states, :infrastructure_registry, :activity, :google_cloud, |