diff options
author | Fabio Pitino <fpitino@gitlab.com> | 2019-06-06 12:29:05 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-06-06 12:29:05 +0300 |
commit | 8af83bbfec20bb387436bbc46f6cfdac6aa05b71 (patch) | |
tree | 0b0c47859a84809f64d0d3bc8e8dd585662b0333 /spec/features | |
parent | 5c3cab3d0fa5d5b3364523c974322a8a6552d48c (diff) |
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')
-rw-r--r-- | spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb | 2 |
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 |