summaryrefslogtreecommitdiff
path: root/spec/features/projects
diff options
context:
space:
mode:
authorFabio Pitino <fpitino@gitlab.com>2019-06-06 09:29:05 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-06-06 09:29:05 +0000
commit8af83bbfec20bb387436bbc46f6cfdac6aa05b71 (patch)
tree0b0c47859a84809f64d0d3bc8e8dd585662b0333 /spec/features/projects
parent5c3cab3d0fa5d5b3364523c974322a8a6552d48c (diff)
downloadgitlab-ce-8af83bbfec20bb387436bbc46f6cfdac6aa05b71.tar.gz
Always show "Pipelines must succeed" checkbox
Before: the checkbox was hidden if builds were disabled. The checkbox should not be linked to the builds feature because they are 2 separate functionality.
Diffstat (limited to 'spec/features/projects')
-rw-r--r--spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb b/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
index 28d52f25f56..0739726f52c 100644
--- a/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
+++ b/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
@@ -51,7 +51,7 @@ describe 'Projects > Settings > User manages merge request settings' do
end
it 'shows the Merge Requests settings that do not depend on Builds feature' do
- expect(page).not_to have_content 'Pipelines must succeed'
+ expect(page).to have_content 'Pipelines must succeed'
expect(page).to have_content 'All discussions must be resolved'
within('.sharing-permissions-form') do