summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-11-16 09:02:07 +0900
committerRandy Morgan <[email protected]>2012-11-16 09:02:07 +0900
commit1b89bb7c0835683bbc42017b6815d6471de73ad9 (patch)
tree1256e19c9156a84536137e4d7404454245eb0eb9 /test
parent1bad5fb4cc947985c6148a19915c195619c29cc0 (diff)
downloadcaxlsx-1b89bb7c0835683bbc42017b6815d6471de73ad9.tar.gz
caxlsx-1b89bb7c0835683bbc42017b6815d6471de73ad9.zip
Minimized two_tone class method
This is really the same as just initializing the object, but anyone who knows about three_tone is going to expect two_tone to be there as well.
Diffstat (limited to 'test')
-rw-r--r--test/workbook/worksheet/tc_color_scale.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/workbook/worksheet/tc_color_scale.rb b/test/workbook/worksheet/tc_color_scale.rb
index 75e19cdb..a0d75fab 100644
--- a/test/workbook/worksheet/tc_color_scale.rb
+++ b/test/workbook/worksheet/tc_color_scale.rb
@@ -11,7 +11,7 @@ class TestColorScale < Test::Unit::TestCase
assert_equal 3, color_scale.colors.size
end
- def two_tone
+ def test_two_tone
color_scale = Axlsx::ColorScale.two_tone
assert_equal 2, color_scale.value_objects.size
assert_equal 2, color_scale.colors.size