Sha256: 3bbd164453b90fef693f85e64911643f3821a3ac14e3c5f2baaf234b471cde14
Contents?: true
Size: 619 Bytes
Versions: 1
Compression:
Stored size: 619 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/ostruct/instance_delegate.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # require 'facets/core/ostruct/instance_delegate.rb' require 'test/unit' class TestOpenStruct < Test::Unit::TestCase def setup @o = OpenStruct.new(:q => 1) end def test_store @o.instance_delegate.store(:a,1) assert_equal( 1, @o.a ) end def test_update @o.instance_delegate.update(:a=>1) assert_equal( 1, @o.a ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/core/ostruct/test_instance_delegate.rb |