Sha256: 86a16e0eb1a24afd4a9d0b5b5b34c79e127789febe8d786836285c053ee5d509
Contents?: true
Size: 520 Bytes
Versions: 6
Compression:
Stored size: 520 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class PersonTest < Test::Unit::TestCase #fixtures :people, LoginEngine.config(:user_table).to_sym fixtures :people, :users, :elts, :mails, :attachments, :subscribers def setup @person = Person.find(:first) end # Replace this with your real tests. def test_truth assert_kind_of Person, @person end def test_collision p = Person.new p.name = "bob10" assert p.save p = Person.new p.name = "bob10" assert !p.save end end
Version data entries
6 entries across 6 versions & 1 rubygems