diff options
| author | Randy Morgan <[email protected]> | 2013-08-17 15:45:43 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2013-08-17 15:45:43 +0900 |
| commit | 5ce1b3b655084deaf01d10cba301b8db068e949c (patch) | |
| tree | 19a296fcb047f99de71b1a216bac0e6c2adcca32 | |
| parent | ee13b1cb4506232fa7ec5edc9fcc4dc796b40431 (diff) | |
| download | caxlsx-5ce1b3b655084deaf01d10cba301b8db068e949c.tar.gz caxlsx-5ce1b3b655084deaf01d10cba301b8db068e949c.zip | |
add uppercase file for image file checking tests
| -rw-r--r-- | examples/IMAGE1UP.JPEG | bin | 0 -> 82255 bytes | |||
| -rw-r--r-- | test/drawing/tc_pic.rb | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/IMAGE1UP.JPEG b/examples/IMAGE1UP.JPEG Binary files differnew file mode 100644 index 00000000..ce1d0c56 --- /dev/null +++ b/examples/IMAGE1UP.JPEG diff --git a/test/drawing/tc_pic.rb b/test/drawing/tc_pic.rb index af8f6f57..bb17c64c 100644 --- a/test/drawing/tc_pic.rb +++ b/test/drawing/tc_pic.rb @@ -6,6 +6,7 @@ class TestPic < Test::Unit::TestCase @p = Axlsx::Package.new ws = @p.workbook.add_worksheet @test_img = File.dirname(__FILE__) + "/../../examples/image1.jpeg" + @test_img_up = File.dirname(__FILE__) + "/../../examples/IMAGE1UP.JPEG" @image = ws.add_image :image_src => @test_img, :hyperlink => 'https://github.com/randym', :tooltip => "What's up doc?" end @@ -77,7 +78,7 @@ class TestPic < Test::Unit::TestCase end def test_image_src_downcase - assert_nothing_raised { @image.image_src = @test_img.upcase } + assert_nothing_raised { @image.image_src = @test_img_up.upcase } end def test_descr |
