init
This commit is contained in:
0
test/models/.keep
Normal file
0
test/models/.keep
Normal file
13
test/models/person_test.rb
Normal file
13
test/models/person_test.rb
Normal file
@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user