Sha256: 293b836c3c0e75cccb1ef53d3cbbdfa294f503826af4deedc39e4dba7f090d7f
Contents?: true
Size: 542 Bytes
Versions: 5
Compression:
Stored size: 542 Bytes
Contents
require 'tc_helper.rb' class TestRelationships < Test::Unit::TestCase def setup end def teardown end def test_type assert_raise(ArgumentError) { Axlsx::Relationship.new 'type', 'target' } assert_nothing_raised { Axlsx::Relationship.new Axlsx::WORKSHEET_R, 'target' } end def test_target_mode assert_raise(ArgumentError) { Axlsx::Relationship.new 'type', 'target', :target_mode => "FISH" } assert_nothing_raised { Axlsx::Relationship.new( Axlsx::WORKSHEET_R, 'target', :target_mode => :External) } end end
Version data entries
5 entries across 5 versions & 1 rubygems