blob: ff3369df0f55de26a04672115810c7995aa03a88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require 'test/unit'
require 'axlsx.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
end
|