Sha256: 33c890bb965eecd46f60dfb928ed768c509b92c1fd92287edd5e84a898d314a7

Contents?: true

Size: 417 Bytes

Versions: 10

Compression:

Stored size: 417 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

10 entries across 10 versions & 1 rubygems

Version Path
glue-0.21.0 test/glue/tc_flexob.rb
glue-0.21.2 test/glue/tc_flexob.rb
glue-0.22.0 test/glue/tc_flexob.rb
glue-0.23.0 test/glue/tc_flexob.rb
glue-0.24.0 test/glue/tc_flexob.rb
glue-0.25.0 test/glue/tc_flexob.rb
glue-0.26.0 test/glue/tc_flexob.rb
glue-0.27.0 test/glue/tc_flexob.rb
glue-0.28.0 test/glue/tc_flexob.rb
glue-0.29.0 test/glue/tc_flexob.rb