summaryrefslogtreecommitdiffhomepage
path: root/test/rels
diff options
context:
space:
mode:
Diffstat (limited to 'test/rels')
-rw-r--r--test/rels/tc_relationships.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rels/tc_relationships.rb b/test/rels/tc_relationships.rb
index 696257d4..5df2b3e8 100644
--- a/test/rels/tc_relationships.rb
+++ b/test/rels/tc_relationships.rb
@@ -2,6 +2,7 @@ require 'test/unit'
require 'axlsx.rb'
class TestRelationships < Test::Unit::TestCase
+
def setup
@rels = Axlsx::Relationships.new
end
@@ -10,6 +11,7 @@ class TestRelationships < Test::Unit::TestCase
end
def test_valid_document
+ @rels = Axlsx::Relationships.new
schema = Nokogiri::XML::Schema(File.open(Axlsx::RELS_XSD))
doc = Nokogiri::XML(@rels.to_xml)
errors = []