Sha256: 02e16296f9d55d83ec119dabd2bad658c754139d51e3feac769a2c0552164408
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/ostruct/op_store.rb # # Extracted Tue Jun 20 15:12:27 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/ostruct/op_store.rb' require 'test/unit' class TCOpenStruct < Test::Unit::TestCase def test_op_store o = OpenStruct.new( { :a => 1 } ) assert_nothing_raised { o[:b] = 2 } assert_equal( 2, o.b ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.2 | test/lib/facets/core/ostruct/test_op_store.rb |