summaryrefslogtreecommitdiffhomepage
path: root/test/rels/tc_relationships.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rels/tc_relationships.rb')
-rw-r--r--test/rels/tc_relationships.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rels/tc_relationships.rb b/test/rels/tc_relationships.rb
index 35adbc9b..ba153ce7 100644
--- a/test/rels/tc_relationships.rb
+++ b/test/rels/tc_relationships.rb
@@ -9,6 +9,7 @@ class TestRelationships < Test::Unit::TestCase
rels = Axlsx::Relationships.new
rels << rel_1
rels << rel_2
+
assert_equal rel_1, rels.for(source_obj_1)
assert_equal rel_2, rels.for(source_obj_2)
end
@@ -31,6 +32,6 @@ class TestRelationships < Test::Unit::TestCase
errors << error
end
- assert(errors.empty?)
+ assert_empty(errors)
end
end