Displaying 1 result from an estimated 1 matches for "3lawyers".
Did you mean:
lawyers
2006 May 03
1
Test not Reseting
...r, @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"
assert @tom_lawyer.save, @tom_lawyer.errors.full_messages.join("; ")
@tom_lawyer = User.new({:username => &...