diff options
| author | Randy Morgan <[email protected]> | 2012-02-02 20:26:15 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-02-02 20:26:15 +0900 |
| commit | 710f5eac4d8d7d017c42348180e9ae0a5e8fec3c (patch) | |
| tree | 4cce6fc0e445705de8e3cad06152a7455c2942bf /test/rels | |
| parent | d4a00926a263329befc9526a930b274210a13abf (diff) | |
| download | caxlsx-710f5eac4d8d7d017c42348180e9ae0a5e8fec3c.tar.gz caxlsx-710f5eac4d8d7d017c42348180e9ae0a5e8fec3c.zip | |
Adding in hyperlinking for images as per issue #22
Diffstat (limited to 'test/rels')
| -rw-r--r-- | test/rels/tc_relationship.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/rels/tc_relationship.rb b/test/rels/tc_relationship.rb index ff3369df..60ac5021 100644 --- a/test/rels/tc_relationship.rb +++ b/test/rels/tc_relationship.rb @@ -13,4 +13,9 @@ class TestRelationships < Test::Unit::TestCase 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 |
