diff options
| -rw-r--r-- | examples/IMAGE1UP.JPEG | bin | 82255 -> 0 bytes | |||
| -rw-r--r-- | test/drawing/tc_pic.rb | 9 |
2 files changed, 0 insertions, 9 deletions
diff --git a/examples/IMAGE1UP.JPEG b/examples/IMAGE1UP.JPEG Binary files differdeleted file mode 100644 index ce1d0c56..00000000 --- a/examples/IMAGE1UP.JPEG +++ /dev/null diff --git a/test/drawing/tc_pic.rb b/test/drawing/tc_pic.rb index 066d9962..2c58fcfd 100644 --- a/test/drawing/tc_pic.rb +++ b/test/drawing/tc_pic.rb @@ -9,7 +9,6 @@ class TestPic < Test::Unit::TestCase @test_img_png = File.dirname(__FILE__) + "/../../examples/image1.png" @test_img_gif = File.dirname(__FILE__) + "/../../examples/image1.gif" @test_img_fake = File.dirname(__FILE__) + "/../../examples/image1_fake.jpg" - @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 @@ -81,14 +80,6 @@ class TestPic < Test::Unit::TestCase assert_equal(@image.image_src, @test_img_jpg) end - def test_image_src_downcase - assert_nothing_raised { @image.image_src = @test_img_up } - ct = @p.send(:content_types).detect do |t| - t.respond_to?(:extension) && t.extension.downcase == @image.extname.downcase - end - assert_equal("image/jpeg", ct.content_type) - end - def test_descr assert_raise(ArgumentError) { @image.descr = 49 } assert_nothing_raised { @image.descr = "test" } |
