rename layout to type
this one goes to caleb for pointing it out. Much better word
This commit is contained in:
@ -9,8 +9,8 @@ class TestObject < MiniTest::Test
|
||||
def test_object_create
|
||||
# another test sometime adds a field variable. Maybe should reboot ?
|
||||
res = 1
|
||||
[:boo1 , :boo2 , :bro , :runner].each { |v| res += 1 if @object.get_layout.variable_index(v) }
|
||||
assert_equal res , @object.get_layout.instance_length , @object.get_layout.inspect
|
||||
[:boo1 , :boo2 , :bro , :runner].each { |v| res += 1 if @object.get_type.variable_index(v) }
|
||||
assert_equal res , @object.get_type.instance_length , @object.get_type.inspect
|
||||
end
|
||||
|
||||
def test_empty_object_doesnt_return
|
||||
|
Reference in New Issue
Block a user