summaryrefslogtreecommitdiffhomepage
path: root/test/drawing
diff options
context:
space:
mode:
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