fix tests
This commit is contained in:
parent
3ed8e0bc84
commit
3a7d650ed8
2 changed files with 1 additions and 5 deletions
|
|
@ -32,10 +32,6 @@ describe User do
|
|||
it 'can not authenticate with incorrect password' do
|
||||
User.authenticate(user.nick, 'foobar').should be_nil
|
||||
end
|
||||
it 'can not set a password without confirmation' do
|
||||
user.password = 'abcdefghij'
|
||||
user.should_not be_valid
|
||||
end
|
||||
it 'can not set a password without matching confirmation' do
|
||||
user.password = 'abcdefghij'
|
||||
user.password_confirmation = 'foobarxyz'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue