summaryrefslogtreecommitdiffhomepage
path: root/test/drawing/tc_two_cell_anchor.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-05-17 20:37:28 +0900
committerRandy Morgan <[email protected]>2012-05-17 20:37:28 +0900
commitc8b40481b1ab947fbb783657e19749b59b716cfe (patch)
tree72c750aae7ef92627fdf3e2fdf53e2199270404f /test/drawing/tc_two_cell_anchor.rb
parent0297bd574791ac7781352c20db2eeaa2c1cea3f3 (diff)
downloadcaxlsx-c8b40481b1ab947fbb783657e19749b59b716cfe.tar.gz
caxlsx-c8b40481b1ab947fbb783657e19749b59b716cfe.zip
fix ALL the warnings!
Diffstat (limited to 'test/drawing/tc_two_cell_anchor.rb')
-rw-r--r--test/drawing/tc_two_cell_anchor.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/drawing/tc_two_cell_anchor.rb b/test/drawing/tc_two_cell_anchor.rb
index c3e58d94..66f8bd58 100644
--- a/test/drawing/tc_two_cell_anchor.rb
+++ b/test/drawing/tc_two_cell_anchor.rb
@@ -5,8 +5,7 @@ class TestTwoCellAnchor < Test::Unit::TestCase
def setup
p = Axlsx::Package.new
@ws = p.workbook.add_worksheet
- row = @ws.add_row ["one", 1, Time.now]
- title = Axlsx::Title.new
+ @ws.add_row ["one", 1, Time.now]
chart = @ws.add_chart Axlsx::Bar3DChart
@anchor = chart.graphic_frame.anchor
end