diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-05-23 12:08:50 -0400 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-05-23 12:08:50 -0400 |
commit | ff5044d8e9f856d4398795618103ce6206b9afee (patch) | |
tree | 33f99aca0aebe9fdf0af1ebe2d507028023b883c /features/steps | |
parent | 21fe8f3646618455514e9888dae913be1e14b15b (diff) | |
download | gitlab-ce-ff5044d8e9f856d4398795618103ce6206b9afee.tar.gz |
Update spinach specs to explicitly check Remove Source Branch.
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/merge_requests/acceptance.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/features/steps/project/merge_requests/acceptance.rb b/features/steps/project/merge_requests/acceptance.rb index 3c976f675a2..cdaa849308c 100644 --- a/features/steps/project/merge_requests/acceptance.rb +++ b/features/steps/project/merge_requests/acceptance.rb @@ -11,10 +11,14 @@ class Spinach::Features::ProjectMergeRequestsAcceptance < Spinach::FeatureSteps visit merge_request_path(@merge_request, anchor: 'note_123') end - step 'I click on "Remove source branch" option' do + step 'I uncheck the "Remove source branch" option' do uncheck('Remove source branch') end + step 'I check the "Remove source branch" option' do + check('Remove source branch') + end + step 'I click on Accept Merge Request' do click_button('Merge') end |