diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-05-29 15:07:04 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-05-29 15:07:04 +0200 |
commit | 85de253ee10aa7821a212270a1940c6205533d38 (patch) | |
tree | 96c7bbd867d627d6ee9a0cecd6f59b57f62696e1 /features/steps | |
parent | cef746dc94347d65af6d953eb03223d16e3c4019 (diff) | |
download | gitlab-ce-85de253ee10aa7821a212270a1940c6205533d38.tar.gz |
Fix tests for group leave feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/dashboard/group.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/dashboard/group.rb b/features/steps/dashboard/group.rb index 8384df2fb59..aeea49320ff 100644 --- a/features/steps/dashboard/group.rb +++ b/features/steps/dashboard/group.rb @@ -60,4 +60,8 @@ class Spinach::Features::DashboardGroup < Spinach::FeatureSteps page.should have_content "Samurai" page.should have_content "Tokugawa Shogunate" end + + step 'I should see the "Can not leave message"' do + page.should have_content "You can not leave Owned group because you're the last owner" + end end |