fix tests

This commit is contained in:
wvengen 2013-07-15 17:57:20 +02:00
parent 3ed8e0bc84
commit 3a7d650ed8
2 changed files with 1 additions and 5 deletions

View file

@ -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'