[rspec-users] before_save model callback rspec testing

Csongor Bartus lists at ruby-forum.com
Fri Jun 20 12:15:37 EDT 2008

[Offtopic question]

I might be paranoic testing if the password is salted/hashed correctly 
since all my login tests passed?

In learning RSpec I find the most important to draw a line and don't 
look behind

... but what if, in this case, accidentally something happens with 
'digest/sha1' and the logins will pass but the password will be not 

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list