Commit 2eb01c93 authored by Stan Hu's avatar Stan Hu

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)
parent a3af6830
...@@ -200,9 +200,9 @@ feature 'Task Lists' do ...@@ -200,9 +200,9 @@ feature 'Task Lists' do
visit_issue(project, issue) visit_issue(project, issue)
expect(page).to have_selector('.js-task-list-container') expect(page).to have_selector('.js-task-list-container')
logout(:user) gitlab_sign_out
login_as(user2) gitlab_sign_in(user2)
visit current_path visit current_path
expect(page).not_to have_selector('.js-task-list-container') expect(page).not_to have_selector('.js-task-list-container')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment