summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-05-31 17:23:48 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-06-07 11:10:24 +0200
commitc61d598b3ae02cabc2e9406a1f8d6363a6273e9c (patch)
tree5c907c7f0689cc04fcd2d162d2c488cf5709afa7 /spec
parent33748960716916f0e6c6bbc168d4ad7f76120102 (diff)
downloadgitlab-ce-c61d598b3ae02cabc2e9406a1f8d6363a6273e9c.tar.gz
Fixing more broken unscoped tests
Diffstat (limited to 'spec')
-rw-r--r--spec/features/admin/admin_groups_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/admin/admin_groups_spec.rb b/spec/features/admin/admin_groups_spec.rb
index d5f595894d6..cf9d7bca255 100644
--- a/spec/features/admin/admin_groups_spec.rb
+++ b/spec/features/admin/admin_groups_spec.rb
@@ -24,7 +24,9 @@ feature 'Admin Groups', feature: true do
it 'creates new group' do
visit admin_groups_path
- click_link "New group"
+ page.within '#content-body' do
+ click_link "New group"
+ end
path_component = 'gitlab'
group_name = 'GitLab group name'
group_description = 'Description of group for GitLab'