diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-06-05 14:44:29 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-06-19 18:59:01 -0500 |
commit | 45fb1f9542fc258d8671c82843d681277ae4aa89 (patch) | |
tree | b466767095ec1d9560155d8188140f40cc8a5742 /spec/features/groups_spec.rb | |
parent | c1cbc27314dd4a83b6a337072e4c386cbcd14ca7 (diff) | |
download | gitlab-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.rb | 6 |
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') |