Displaying 1 result from an estimated 1 matches for "test_create_user".
2006 May 03
1
Test not Reseting
...e this with your real tests.
def test_truth
assert_kind_of User, @chris_logged_in
assert_kind_of User, @sherri
assert_kind_of User, @investor
end
def test_destroy
@delete_victim.destroy
assert_raise(ActiveRecord::RecordNotFound){User.find(@delete_victim.id)}
end
def test_create_user
@tom_lawyer = User.new
@tom_lawyer.username = "tlawyer"
@tom_lawyer.password = "i<3lawyers"
@tom_lawyer.email = "tlawyer@harbert.net"
@tom_lawyer.first_name = "Tom"
@tom_lawyer.last_name = "Lawyer"...