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/dashboard/datetime_on_tooltips_spec.rb | |
parent | c1cbc27314dd4a83b6a337072e4c386cbcd14ca7 (diff) | |
download | gitlab-ce-45fb1f9542fc258d8671c82843d681277ae4aa89.tar.gz |
Change `login_as` uses to `gitlab_sign_in`
Diffstat (limited to 'spec/features/dashboard/datetime_on_tooltips_spec.rb')
-rw-r--r-- | spec/features/dashboard/datetime_on_tooltips_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/dashboard/datetime_on_tooltips_spec.rb b/spec/features/dashboard/datetime_on_tooltips_spec.rb index 5296297304e..6931d0a840e 100644 --- a/spec/features/dashboard/datetime_on_tooltips_spec.rb +++ b/spec/features/dashboard/datetime_on_tooltips_spec.rb @@ -13,7 +13,7 @@ feature 'Tooltips on .timeago dates', feature: true, js: true do Event.create( project: project, author_id: user.id, action: Event::JOINED, updated_at: created_date, created_at: created_date) - login_as user + gitlab_sign_in user visit user_path(user) wait_for_requests() @@ -30,7 +30,7 @@ feature 'Tooltips on .timeago dates', feature: true, js: true do project.team << [user, :master] create(:snippet, author: user, updated_at: created_date, created_at: created_date) - login_as user + gitlab_sign_in user visit user_snippets_path(user) wait_for_requests() |