Sha256: 328ee40752a942675d94fcb28f96bd5aab33c0e28546f13ae847d52f4d060693
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/ostruct/__update__.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/ostruct/__update__.rb' require 'test/unit' class TCOpenStruct < Test::Unit::TestCase def test_update o = OpenStruct.new( { :a => 1 } ) h = { :b => 2 } assert_nothing_raised { o.__update__( h ) } assert_equal( 2, o.b ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.0.3 | packages/core/test/lib/facet/ostruct/test___update__.rb |