diff options
| author | Randy Morgan <[email protected]> | 2011-11-29 19:54:59 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2011-11-29 19:54:59 +0900 |
| commit | b2fe6b32fe35fc54265b908257f3c131052db664 (patch) | |
| tree | d7f6c1a9f919ac025d156dabe7b538519a981bd8 /test/rels | |
| parent | c0912379ccaf07300a294376fa329c6225bf009d (diff) | |
| download | caxlsx-b2fe6b32fe35fc54265b908257f3c131052db664.tar.gz caxlsx-b2fe6b32fe35fc54265b908257f3c131052db664.zip | |
more travis fun! moving attribute @rels into test method as it seems travis thinks it is nil!
Diffstat (limited to 'test/rels')
| -rw-r--r-- | test/rels/tc_relationships.rb | 2 |
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 = [] |
