Sha256: 716914afd022fafdd512b06d37b1e342344beac0146d3aef1ecfc94e5229e990

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

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

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

class TC_Flexob < Test::Unit::TestCase # :nodoc: all

	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

2 entries across 2 versions & 1 rubygems

Version Path
glue-0.19.0 test/glue/tc_flexob.rb
glue-0.20.0 test/glue/tc_flexob.rb