summaryrefslogtreecommitdiffhomepage
path: root/test/drawing
diff options
context:
space:
mode:
Diffstat (limited to 'test/drawing')
-rw-r--r--test/drawing/tc_d_lbls.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/drawing/tc_d_lbls.rb b/test/drawing/tc_d_lbls.rb
index 97011f6d..ef391824 100644
--- a/test/drawing/tc_d_lbls.rb
+++ b/test/drawing/tc_d_lbls.rb
@@ -20,7 +20,7 @@ class TestDLbls < Test::Unit::TestCase
end
def test_initialization_with_optoins
- options_hash = @boolean_attributes.map { |name| [name, true] }.to_h
+ options_hash = @boolean_attributes.to_h { |name| [name, true] }
d_lbls = Axlsx::DLbls.new(Axlsx::Pie3DChart, options_hash.merge({ :d_lbl_pos => :t }))