summaryrefslogtreecommitdiffhomepage
path: root/test/drawing/tc_pie_series.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drawing/tc_pie_series.rb')
-rw-r--r--test/drawing/tc_pie_series.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/drawing/tc_pie_series.rb b/test/drawing/tc_pie_series.rb
index a0d63cfc..88930213 100644
--- a/test/drawing/tc_pie_series.rb
+++ b/test/drawing/tc_pie_series.rb
@@ -5,9 +5,9 @@ require 'tc_helper'
class TestPieSeries < Test::Unit::TestCase
def setup
p = Axlsx::Package.new
- @ws = p.workbook.add_worksheet :name => "hmmm"
- chart = @ws.add_chart Axlsx::Pie3DChart, :title => "fishery"
- @series = chart.add_series :data => [0, 1, 2], :labels => ["zero", "one", "two"], :title => "bob", :colors => ["FF0000", "00FF00", "0000FF"]
+ @ws = p.workbook.add_worksheet name: "hmmm"
+ chart = @ws.add_chart Axlsx::Pie3DChart, title: "fishery"
+ @series = chart.add_series data: [0, 1, 2], labels: ["zero", "one", "two"], title: "bob", colors: ["FF0000", "00FF00", "0000FF"]
end
def test_initialize