From b2fe6b32fe35fc54265b908257f3c131052db664 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Tue, 29 Nov 2011 19:54:59 +0900 Subject: more travis fun! moving attribute @rels into test method as it seems travis thinks it is nil! --- test/rels/tc_relationships.rb | 2 ++ 1 file changed, 2 insertions(+) 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 = [] -- cgit v1.2.3