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_border.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_border.rb')
| -rw-r--r-- | test/stylesheet/tc_border.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/stylesheet/tc_border.rb b/test/stylesheet/tc_border.rb index ba268e07..ae191dd0 100644 --- a/test/stylesheet/tc_border.rb +++ b/test/stylesheet/tc_border.rb @@ -1,8 +1,7 @@ -require 'test/unit' -require 'axlsx.rb' +require 'tc_helper.rb' class TestBorder < Test::Unit::TestCase - def setup + def setup @b = Axlsx::Border.new end def teardown @@ -10,7 +9,7 @@ class TestBorder < Test::Unit::TestCase def test_initialiation assert_equal(@b.diagonalUp, nil) assert_equal(@b.diagonalDown, nil) - assert_equal(@b.outline, nil) + assert_equal(@b.outline, nil) assert(@b.prs.is_a?(Axlsx::SimpleTypedList)) end |
