Sha256: 79b718ad86a78a4b24a5bd55511198453d5c87c63299176ada915d77e9bffc5b
Contents?: true
Size: 425 Bytes
Versions: 6
Compression:
Stored size: 425 Bytes
Contents
require 'test/unit' require File.join(File.dirname(__FILE__), '../lib/image_temp_file') class ImageTest < Test::Unit::TestCase include MiniMagick def test_image_temp_file tmp = ImageTempFile.new('test') assert_match %r{^test}, File::basename(tmp.path) tmp = ImageTempFile.new('test.jpg') assert_match %r{^test}, File::basename(tmp.path) assert_match %r{\.jpg$}, File::basename(tmp.path) end end
Version data entries
6 entries across 6 versions & 3 rubygems