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/users/snippets_spec.rb | |
parent | c1cbc27314dd4a83b6a337072e4c386cbcd14ca7 (diff) | |
download | gitlab-ce-45fb1f9542fc258d8671c82843d681277ae4aa89.tar.gz |
Change `login_as` uses to `gitlab_sign_in`
Diffstat (limited to 'spec/features/users/snippets_spec.rb')
-rw-r--r-- | spec/features/users/snippets_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/users/snippets_spec.rb b/spec/features/users/snippets_spec.rb index 2e388115633..74c5cbd7887 100644 --- a/spec/features/users/snippets_spec.rb +++ b/spec/features/users/snippets_spec.rb @@ -24,7 +24,7 @@ describe 'Snippets tab on a user profile', feature: true, js: true do let!(:other_snippet) { create(:snippet, :public) } it 'contains only internal and public snippets of a user when a user is logged in' do - login_as(:user) + gitlab_sign_in(:user) visit user_path(user) page.within('.user-profile-nav') { click_link 'Snippets' } wait_for_requests |