push more responsibility down to node

expose simple attribute
write long or short
many test got more compact, good
This commit is contained in:
Torsten Ruger
2015-06-17 21:16:39 +03:00
parent 72fa26b00e
commit 78f0108166
10 changed files with 100 additions and 71 deletions

View File

@ -11,7 +11,7 @@ class ObjectSof < MiniTest::Test
object = ObjectWithAttributes.new
object.extra = [:sym , 123]
@out = object
check "#{OBJECT_STRING}\n :extra [:sym, 123]"
check "ObjectWithAttributes(:name => 'some name', :number => 1234, :extra => [:sym, 123])"
end
def test_array_object
@out = [true, 1234 , ObjectWithAttributes.new]