Sha256: 92a26d7fe53712446321816d39a72a491672eb861044fac25ced3041ca733705

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')

require 'test/unit'
require 'glue/flexob'

class TC_Flexob < Test::Unit::TestCase # :nodoc: all
  include Glue
  
  def test_all
    f = Flexob.new
    f.title = 'Test'
    f[:another] = 'Another'
    
    assert_equal 'Test', f.title
    assert_equal 'Another', f.another
    assert_equal 'Another', f[:another]
    assert_equal 'Another', f['another']    
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glue-0.30.0 test/glue/tc_flexob.rb