summaryrefslogtreecommitdiffhomepage
path: root/test/drawing
diff options
context:
space:
mode:
authorOleg Yakovenko <[email protected]>2021-03-01 18:39:58 +0200
committerOleg Yakovenko <[email protected]>2021-03-01 18:39:58 +0200
commit61ad9973af22dab37b86d4f3a55ba4eef42b043e (patch)
tree7b7d52fc42f86062fa8baa41fbf95628bb82b0b8 /test/drawing
parent8dd92ebff726f60fbd31f5f0dcb05849745dea39 (diff)
downloadcaxlsx-61ad9973af22dab37b86d4f3a55ba4eef42b043e.tar.gz
caxlsx-61ad9973af22dab37b86d4f3a55ba4eef42b043e.zip
feature: spec cleanup
Diffstat (limited to 'test/drawing')
-rw-r--r--test/drawing/tc_scatter_series.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/drawing/tc_scatter_series.rb b/test/drawing/tc_scatter_series.rb
index bf2fb958..3d1d294d 100644
--- a/test/drawing/tc_scatter_series.rb
+++ b/test/drawing/tc_scatter_series.rb
@@ -54,21 +54,21 @@ class TestScatterSeries < Test::Unit::TestCase
end
def test_false_show_marker
- @chart = @ws.add_chart Axlsx::ScatterChart, :title => "Smooth Chart", :scatter_style => :smoothMarker
+ @chart = @ws.add_chart Axlsx::ScatterChart, :title => 'Smooth Chart', :scatter_style => :smoothMarker
@series = @chart.add_series :xData=>[1,2,4], :yData=>[1,3,9]
- assert(@series.show_marker, "markers are enabled for marker-related styles")
+ assert(@series.show_marker, 'markers are enabled for marker-related styles')
end
def test_true_show_marker
- @chart = @ws.add_chart Axlsx::ScatterChart, :title => "Line chart", :scatter_style => :line
+ @chart = @ws.add_chart Axlsx::ScatterChart, :title => 'Line chart', :scatter_style => :line
@series = @chart.add_series :xData=>[1,2,4], :yData=>[1,3,9]
- assert([email protected]_marker, "markers are disabled for markerless scatter styles")
+ assert([email protected]_marker, 'markers are disabled for markerless scatter styles')
end
def test_marker_symbol
- @chart = @ws.add_chart Axlsx::ScatterChart, :title => "Line chart", :scatter_style => :line
+ @chart = @ws.add_chart Axlsx::ScatterChart, :title => 'Line chart', :scatter_style => :line
@series = @chart.add_series :xData=>[1,2,4], :yData=>[1,3,9], :marker_symbol => :diamond
- assert_equal(@series.marker_symbol, :diamond, "markers are disabled for markerless scatter styles")
+ assert_equal(@series.marker_symbol, :diamond, 'series could have own custom marker symbol')
end
end