diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-06-22 02:44:10 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-06-29 19:18:23 +0300 |
commit | e939bf7be10b6ec516ffbe75ad4b4dc1151670a7 (patch) | |
tree | 7d59f3f1fad2b83c1cd051562d6375fd4bbf0a7a /spec/features/groups/show_spec.rb | |
parent | 5a983ac431affc800d5e9db9e83c14710ec29c36 (diff) |
Change gitlab_sign_in to sign_in where possible
Diffstat (limited to 'spec/features/groups/show_spec.rb')
-rw-r--r-- | spec/features/groups/show_spec.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/features/groups/show_spec.rb b/spec/features/groups/show_spec.rb index 76575f61528..cbf97d0674b 100644 --- a/spec/features/groups/show_spec.rb +++ b/spec/features/groups/show_spec.rb @@ -5,9 +5,12 @@ feature 'Group show page', feature: true do let(:path) { group_path(group) } context 'when signed in' do + let(:user) do + create(:group_member, :developer, user: create(:user), group: group ).user + end + before do - user = create(:group_member, :developer, user: create(:user), group: group ).user - gitlab_sign_in(user) + sign_in(user) visit path end |