summaryrefslogtreecommitdiff
path: root/spec/features/groups_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-06-05 14:44:29 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-06-19 18:59:01 -0500
commit45fb1f9542fc258d8671c82843d681277ae4aa89 (patch)
treeb466767095ec1d9560155d8188140f40cc8a5742 /spec/features/groups_spec.rb
parentc1cbc27314dd4a83b6a337072e4c386cbcd14ca7 (diff)
downloadgitlab-ce-45fb1f9542fc258d8671c82843d681277ae4aa89.tar.gz
Change `login_as` uses to `gitlab_sign_in`
Diffstat (limited to 'spec/features/groups_spec.rb')
-rw-r--r--spec/features/groups_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/groups_spec.rb b/spec/features/groups_spec.rb
index 5737ca39b4e..0c76841c52d 100644
--- a/spec/features/groups_spec.rb
+++ b/spec/features/groups_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
feature 'Group', feature: true do
before do
- login_as(:admin)
+ gitlab_sign_in(:admin)
end
matcher :have_namespace_error_message do
@@ -109,7 +109,7 @@ feature 'Group', feature: true do
before do
group.add_owner(user)
logout
- login_as(user)
+ gitlab_sign_in(user)
visit subgroups_group_path(group)
click_link 'New Subgroup'
@@ -129,7 +129,7 @@ feature 'Group', feature: true do
group = create(:group, :private, path: 'secret-group')
logout
- login_as(:user)
+ gitlab_sign_in(:user)
visit new_group_path(parent_id: group.id)
expect(page).not_to have_content('secret-group')