require File.dirname(__FILE__) + '/../test_helper'

class UserTest < Test::Unit::TestCase
fixtures :users

# Replace this with your real tests.
def test_user_password
password = 'blogger'
blogger = User.create(:name => 'Blogger', :password => password)
# Prove password check OK, but real password is encrypted into 60-digits.
assert blogger.password == password
assert_equal 60, blogger.password.size
end
end