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 2865f12d..6dc140e0 100644
--- a/test/stylesheet/tc_gradient_stop.rb
+++ b/test/stylesheet/tc_gradient_stop.rb
@@ -2,7 +2,7 @@ require 'tc_helper.rb'
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
@@ -21,7 +21,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(@item.color.rgb, "FF0000FF")
end