summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2018-05-24 14:57:01 -0700
committerMichael Kozono <mkozono@gmail.com>2018-06-08 09:05:06 -0700
commitc5bcae5dd657af0f17219dc708ad33f17bcf3bb1 (patch)
tree618dba3d1bbb65e5bca67b1ce18ff0c66723076d /qa
parentf08a22044dbeed4c2ce036dd03ebbf803000823f (diff)
downloadgitlab-ce-c5bcae5dd657af0f17219dc708ad33f17bcf3bb1.tar.gz
Tweak scenario descriptions
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/repository/protected_branches_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/specs/features/repository/protected_branches_spec.rb b/qa/qa/specs/features/repository/protected_branches_spec.rb
index 8600c9ce347..cce9c104432 100644
--- a/qa/qa/specs/features/repository/protected_branches_spec.rb
+++ b/qa/qa/specs/features/repository/protected_branches_spec.rb
@@ -29,7 +29,7 @@ module QA
context 'when developers and maintainers are allowed to push to a protected branch' do
let!(:protected_branch) { fabricate_branch(allow_to_push: true) }
- scenario 'a push by the owner succeeds' do
+ scenario 'user with push rights successfully pushes to the protected branch' do
expect(protected_branch.name).to have_content(branch_name)
expect(protected_branch.push_allowance).to have_content('Developers + Maintainers')
@@ -44,7 +44,7 @@ module QA
end
context 'when developers and maintainers are not allowed to push to a protected branch' do
- scenario 'a push by the owner fails' do
+ scenario 'user without push rights fails to push to the protected branch' do
fabricate_branch(allow_to_push: false)
project.visit!