diff options
author | Michael Kozono <mkozono@gmail.com> | 2018-05-25 00:57:01 +0300 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2018-06-08 19:05:06 +0300 |
commit | c5bcae5dd657af0f17219dc708ad33f17bcf3bb1 (patch) | |
tree | 618dba3d1bbb65e5bca67b1ce18ff0c66723076d /qa | |
parent | f08a22044dbeed4c2ce036dd03ebbf803000823f (diff) |
Tweak scenario descriptions
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/repository/protected_branches_spec.rb | 4 |
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! |