summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-07-23 09:13:44 +0900
committerRandy Morgan <[email protected]>2012-07-23 09:13:44 +0900
commitc1d047bc2f4f913fef1ebdaa956a358942bc90c6 (patch)
tree0a7e0ce144fa9a6447573d60cd5e2d49ce250e50 /test
parente75a5215c465ad70e5ea82bd48035531517a3b45 (diff)
downloadcaxlsx-c1d047bc2f4f913fef1ebdaa956a358942bc90c6.tar.gz
caxlsx-c1d047bc2f4f913fef1ebdaa956a358942bc90c6.zip
more cleanup for optional data label attributes
Diffstat (limited to 'test')
-rw-r--r--test/drawing/tc_d_lbls.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/drawing/tc_d_lbls.rb b/test/drawing/tc_d_lbls.rb
index 3a61b2e8..5bd52a92 100644
--- a/test/drawing/tc_d_lbls.rb
+++ b/test/drawing/tc_d_lbls.rb
@@ -3,7 +3,7 @@ require 'tc_helper'
class TestDLbls < Test::Unit::TestCase
def setup
- @d_lbls = Axlsx::DLbls.new
+ @d_lbls = Axlsx::DLbls.new(Axlsx::Pie3DChart)
end
def test_initialization
@@ -15,7 +15,7 @@ class TestDLbls < Test::Unit::TestCase
def test_initialization_with_optoins
options_hash = Hash[*[Axlsx::DLbls::BOOLEAN_ATTRIBUTES.map { |name| [name, true] }] ]
- d_lbls = Axlsx::DLbls.new(options_hash.merge( { :d_lbl_pos => :t }))
+ d_lbls = Axlsx::DLbls.new(Axlsx::Pie3DChart, options_hash.merge( { :d_lbl_pos => :t }))
Axlsx::DLbls::BOOLEAN_ATTRIBUTES.each do |attr|
assert_equal(true, d_lbls.send(attr), "boolean attributes set by options")
end