make class a value

and minor others
This commit is contained in:
Torsten Ruger
2015-06-16 18:51:30 +03:00
parent 6f9d4af3cd
commit 72fa26b00e
7 changed files with 15 additions and 12 deletions

View File

@ -55,6 +55,6 @@ class ObjectSof < MiniTest::Test
object.extra = ObjectWithAttributes
ar = [object , ObjectWithAttributes]
@out = ar
check "- ObjectWithAttributes(:name => 'some name', :number => 1234, :extra => ->1)\n- &1 ObjectWithAttributes"
check "- ObjectWithAttributes(:name => 'some name', :number => 1234, :extra => ObjectWithAttributes)\n- ObjectWithAttributes"
end
end