summaryrefslogtreecommitdiff
path: root/features/dashboard
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-29 15:07:04 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-29 15:07:04 +0200
commit85de253ee10aa7821a212270a1940c6205533d38 (patch)
tree96c7bbd867d627d6ee9a0cecd6f59b57f62696e1 /features/dashboard
parentcef746dc94347d65af6d953eb03223d16e3c4019 (diff)
downloadgitlab-ce-85de253ee10aa7821a212270a1940c6205533d38.tar.gz
Fix tests for group leave feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/dashboard')
-rw-r--r--features/dashboard/group.feature3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/dashboard/group.feature b/features/dashboard/group.feature
index cf4b8d7283b..e3c01db2ebb 100644
--- a/features/dashboard/group.feature
+++ b/features/dashboard/group.feature
@@ -24,7 +24,8 @@ Feature: Dashboard Group
When I visit dashboard groups page
Then I should see group "Owned" in group list
Then I should see group "Guest" in group list
- Then I should not see the "Leave" button for group "Owned"
+ When I click on the "Leave" button for group "Owned"
+ Then I should see the "Can not leave message"
@javascript
Scenario: Guest should be able to leave from group