From 61ad9973af22dab37b86d4f3a55ba4eef42b043e Mon Sep 17 00:00:00 2001 From: Oleg Yakovenko Date: Mon, 1 Mar 2021 18:39:58 +0200 Subject: feature: spec cleanup --- test/drawing/tc_scatter_series.rb | 12 ++++++------ 1 file 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(!@series.show_marker, "markers are disabled for markerless scatter styles") + assert(!@series.show_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 -- cgit v1.2.3