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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-06 09:08:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-06 09:08:29 +0300
commitd111e00680d2b3e46a7ee37af5499407c4a93a22 (patch)
treec4001334d2db7d00747d2df35ee239f9f78691b8 /spec/views
parentb8fbfa9c705435090b9342efd47f2b27becb7819 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/edit.html.haml_spec.rb22
1 files changed, 3 insertions, 19 deletions
diff --git a/spec/views/projects/edit.html.haml_spec.rb b/spec/views/projects/edit.html.haml_spec.rb
index 77336aa7d86..8c1a8cf21d0 100644
--- a/spec/views/projects/edit.html.haml_spec.rb
+++ b/spec/views/projects/edit.html.haml_spec.rb
@@ -105,26 +105,10 @@ RSpec.describe 'projects/edit' do
end
describe 'pages menu entry callout' do
- context 'with feature flag disabled' do
- before do
- stub_feature_flags(show_pages_in_deployments_menu: false)
- end
-
- it 'does not show a callout' do
- render
- expect(rendered).not_to have_content('GitLab Pages has moved')
- end
- end
-
- context 'with feature flag enabled' do
- before do
- stub_feature_flags(show_pages_in_deployments_menu: true)
- end
+ it 'does show a callout' do
+ render
- it 'does show a callout' do
- render
- expect(rendered).to have_content('GitLab Pages has moved')
- end
+ expect(rendered).to have_content(_('GitLab Pages has moved'))
end
end
end