Commit bd476c1b authored by Alexis Reigel's avatar Alexis Reigel

use sign_in instead of login_with

parent e9515dff
......@@ -213,7 +213,7 @@ describe 'Commits' do
create :gpg_key, key: GpgHelpers::User1.public_key, user: user
end
login_with(user)
sign_in(user)
visit namespace_project_commits_path(project.namespace, project, :'signed-commits')
......@@ -240,7 +240,7 @@ describe 'Commits' do
user = create :user, email: GpgHelpers::User1.emails.first
project.team << [user, :master]
login_with(user)
sign_in(user)
visit namespace_project_commits_path(project.namespace, project, :'signed-commits')
......@@ -269,7 +269,7 @@ describe 'Commits' do
create :gpg_key, key: GpgHelpers::User1.public_key, user: user
end
login_with(user)
sign_in(user)
visit namespace_project_commits_path(project.namespace, project, :'signed-commits')
click_on 'Verified'
......
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