Auto correct rubocop style issues
This commit is contained in:
parent
f260e607bf
commit
7e8c1d041d
39 changed files with 115 additions and 199 deletions
|
|
@ -8,14 +8,17 @@ feature 'the session' do
|
|||
visit login_path
|
||||
expect(page).to have_selector('input[type=password]')
|
||||
end
|
||||
|
||||
it 'logs me in' do
|
||||
login user
|
||||
expect(page).to_not have_selector('.alert-error')
|
||||
end
|
||||
|
||||
it 'does not log me in with wrong password' do
|
||||
login user.nick, 'XX' + user.password
|
||||
expect(page).to have_selector('.alert-error')
|
||||
end
|
||||
|
||||
it 'can log me in using an email address' do
|
||||
visit login_path
|
||||
fill_in 'nick', :with => user.email
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue