summaryrefslogtreecommitdiff
path: root/spec/features/projects/blobs
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-07 12:16:11 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-07 12:16:11 +0000
commite8e22b384c97899e6944eeb85a0a2b84e8615f9c (patch)
tree1c0624d28d4d65d1674a28536524409c0dd51bb7 /spec/features/projects/blobs
parent75c2755b05acdd65b5c7f93ee245b8273d99d446 (diff)
downloadgitlab-ce-e8e22b384c97899e6944eeb85a0a2b84e8615f9c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/blobs')
-rw-r--r--spec/features/projects/blobs/user_views_pipeline_editor_button_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/blobs/user_views_pipeline_editor_button_spec.rb b/spec/features/projects/blobs/user_views_pipeline_editor_button_spec.rb
index b872fa701c8..15e7a495e60 100644
--- a/spec/features/projects/blobs/user_views_pipeline_editor_button_spec.rb
+++ b/spec/features/projects/blobs/user_views_pipeline_editor_button_spec.rb
@@ -19,14 +19,14 @@ RSpec.describe 'User views pipeline editor button on root ci config file', :js d
project.repository.create_file(user, project.ci_config_path_or_default, 'test', message: 'testing', branch_name: 'master')
visit project_blob_path(project, File.join('master', '.my-config.yml'))
- expect(page).to have_content('Pipeline Editor')
+ expect(page).to have_content('Edit in pipeline editor')
end
it 'does not shows the Pipeline Editor button' do
project.repository.create_file(user, '.my-sub-config.yml', 'test', message: 'testing', branch_name: 'master')
visit project_blob_path(project, File.join('master', '.my-sub-config.yml'))
- expect(page).not_to have_content('Pipeline Editor')
+ expect(page).not_to have_content('Edit in pipeline editor')
end
end
@@ -36,7 +36,7 @@ RSpec.describe 'User views pipeline editor button on root ci config file', :js d
end
it 'does not shows the Pipeline Editor button' do
visit project_blob_path(project, File.join('master', '.my-config.yml'))
- expect(page).not_to have_content('Pipeline Editor')
+ expect(page).not_to have_content('Edit in pipeline editor')
end
end
end