14 lines
239 B
Ruby
14 lines
239 B
Ruby
|
require 'test_helper'
|
||
|
|
||
|
class PersonTest < ActiveSupport::TestCase
|
||
|
def test_sanity
|
||
|
assert Person
|
||
|
end
|
||
|
|
||
|
def test_parents
|
||
|
parents = Person.just_parents
|
||
|
|
||
|
assert parents.count > 1, "Did not find more than one parent"
|
||
|
end
|
||
|
end
|