summaryrefslogtreecommitdiffhomepage
path: root/test/stylesheet/tc_table_style.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/stylesheet/tc_table_style.rb')
-rw-r--r--test/stylesheet/tc_table_style.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/stylesheet/tc_table_style.rb b/test/stylesheet/tc_table_style.rb
index 54bebb5b..8b219a93 100644
--- a/test/stylesheet/tc_table_style.rb
+++ b/test/stylesheet/tc_table_style.rb
@@ -1,5 +1,4 @@
-require 'test/unit'
-require 'axlsx.rb'
+require 'tc_helper.rb'
class TestTableStyle < Test::Unit::TestCase
@@ -16,7 +15,7 @@ class TestTableStyle < Test::Unit::TestCase
assert_equal(@item.table, nil)
end
- def test_name
+ def test_name
assert_raise(ArgumentError) { @item.name = -1.1 }
assert_nothing_raised { @item.name = "lovely table style" }
assert_equal(@item.name, "lovely table style")