diff options
| author | Randy Morgan <[email protected]> | 2012-03-23 23:52:34 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-03-23 23:52:34 +0900 |
| commit | ad7119b5927584e4fc735ce72ea69322c3e9acac (patch) | |
| tree | b9ac11d22433f133bb1644b8c26bdd4a0886c555 /test/stylesheet/tc_table_style_element.rb | |
| parent | cd6fb747bbf2915f92f1fb0169e7f54d87aa1915 (diff) | |
| download | caxlsx-ad7119b5927584e4fc735ce72ea69322c3e9acac.tar.gz caxlsx-ad7119b5927584e4fc735ce72ea69322c3e9acac.zip | |
move requires out of specs and into helper that prepends lib directory for requires
Diffstat (limited to 'test/stylesheet/tc_table_style_element.rb')
| -rw-r--r-- | test/stylesheet/tc_table_style_element.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/stylesheet/tc_table_style_element.rb b/test/stylesheet/tc_table_style_element.rb index 9cfa5204..2e6e763f 100644 --- a/test/stylesheet/tc_table_style_element.rb +++ b/test/stylesheet/tc_table_style_element.rb @@ -1,5 +1,4 @@ -require 'test/unit' -require 'axlsx.rb' +require 'tc_helper.rb' class TestTableStyleElement < Test::Unit::TestCase @@ -16,7 +15,7 @@ class TestTableStyleElement < Test::Unit::TestCase assert_equal(@item.dxfId, nil) end - def test_type + def test_type assert_raise(ArgumentError) { @item.type = -1.1 } assert_nothing_raised { @item.type = :blankRow } assert_equal(@item.type, :blankRow) |
