Fix failling spec/features/task_lists_spec.rb due to wrong login helpers

This was failing on master (e.g. https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/31176922)
This commit is contained in:
Stan Hu 2017-09-03 22:47:56 -07:00
parent a3af683045
commit 2eb01c9384
1 changed files with 2 additions and 2 deletions

View File

@ -200,9 +200,9 @@ feature 'Task Lists' do
visit_issue(project, issue)
expect(page).to have_selector('.js-task-list-container')
logout(:user)
gitlab_sign_out
login_as(user2)
gitlab_sign_in(user2)
visit current_path
expect(page).not_to have_selector('.js-task-list-container')
end