summaryrefslogtreecommitdiffhomepage
path: root/test/stylesheet/tc_gradient_stop.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/stylesheet/tc_gradient_stop.rb')
-rw-r--r--test/stylesheet/tc_gradient_stop.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/stylesheet/tc_gradient_stop.rb b/test/stylesheet/tc_gradient_stop.rb
index 23a1d58e..6b37779f 100644
--- a/test/stylesheet/tc_gradient_stop.rb
+++ b/test/stylesheet/tc_gradient_stop.rb
@@ -4,7 +4,7 @@ require 'tc_helper'
class TestGradientStop < Test::Unit::TestCase
def setup
- @item = Axlsx::GradientStop.new(Axlsx::Color.new(:rgb => "FFFF0000"), 1.0)
+ @item = Axlsx::GradientStop.new(Axlsx::Color.new(rgb: "FFFF0000"), 1.0)
end
def teardown; end
@@ -22,7 +22,7 @@ class TestGradientStop < Test::Unit::TestCase
def test_color
assert_raise(ArgumentError) { @item.color = nil }
- color = Axlsx::Color.new(:rgb => "FF0000FF")
+ color = Axlsx::Color.new(rgb: "FF0000FF")
@item.color = color
assert_equal("FF0000FF", @item.color.rgb)