summaryrefslogtreecommitdiffhomepage
path: root/test/drawing/tc_pic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drawing/tc_pic.rb')
-rw-r--r--test/drawing/tc_pic.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/drawing/tc_pic.rb b/test/drawing/tc_pic.rb
index 2d6c603d..9e4d62e6 100644
--- a/test/drawing/tc_pic.rb
+++ b/test/drawing/tc_pic.rb
@@ -17,6 +17,12 @@ class TestPic < Test::Unit::TestCase
assert_equal(@p.workbook.images.first, @image)
assert_equal(@image.image_src, @test_img)
end
+
+ def test_hyperlink
+ assert_equal(@image.hyperlink, nil)
+ @image.hyperlink = "http://axlsx.blogspot.com"
+ assert_equal(@image.hyperlink.href, "http://axlsx.blogspot.com")
+ end
def test_name
assert_raise(ArgumentError) { @image.name = 49 }