diff options
| author | Randy Morgan <[email protected]> | 2012-03-23 23:52:34 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-03-23 23:52:34 +0900 |
| commit | ad7119b5927584e4fc735ce72ea69322c3e9acac (patch) | |
| tree | b9ac11d22433f133bb1644b8c26bdd4a0886c555 /test/rels | |
| parent | cd6fb747bbf2915f92f1fb0169e7f54d87aa1915 (diff) | |
| download | caxlsx-ad7119b5927584e4fc735ce72ea69322c3e9acac.tar.gz caxlsx-ad7119b5927584e4fc735ce72ea69322c3e9acac.zip | |
move requires out of specs and into helper that prepends lib directory for requires
Diffstat (limited to 'test/rels')
| -rw-r--r-- | test/rels/tc_relationship.rb | 11 | ||||
| -rw-r--r-- | test/rels/tc_relationships.rb | 5 |
2 files changed, 7 insertions, 9 deletions
diff --git a/test/rels/tc_relationship.rb b/test/rels/tc_relationship.rb index 60ac5021..98f21b0b 100644 --- a/test/rels/tc_relationship.rb +++ b/test/rels/tc_relationship.rb @@ -1,12 +1,11 @@ -require 'test/unit' -require 'axlsx.rb' +require 'tc_helper.rb' class TestRelationships < Test::Unit::TestCase - def setup + def setup + end + + def teardown end - - def teardown - end def test_type assert_raise(ArgumentError) { Axlsx::Relationship.new 'type', 'target' } diff --git a/test/rels/tc_relationships.rb b/test/rels/tc_relationships.rb index c6b4860d..9a76d1e5 100644 --- a/test/rels/tc_relationships.rb +++ b/test/rels/tc_relationships.rb @@ -1,5 +1,4 @@ -require 'test/unit' -require 'axlsx.rb' +require 'tc_helper.rb' class TestRelationships < Test::Unit::TestCase @@ -21,7 +20,7 @@ class TestRelationships < Test::Unit::TestCase errors << error end - assert(errors.size == 0) + assert(errors.size == 0) end end |
