Sha256: c6ef701a77454ba56b8e3697d17a22ed215eae308077192fa7cf48a92622cbd1

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/ostruct/op_fetch.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/ostruct/op_fetch.rb'


  require 'test/unit'

  class TCOpenStruct < Test::Unit::TestCase

    def test_op_fetch
      o = OpenStruct.new( { :a => 1 } )
      assert_equal( 1, o[:a] )
    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_op_fetch.rb