require 'rubygems' require 'test/unit' require 'pathname' require 'tempfile' require File.expand_path('../../lib/mini_magick', __FILE__) module MiniMagickTestFiles test_files = File.expand_path(File.dirname(__FILE__) + "/files") SIMPLE_IMAGE_PATH = test_files + "/simple.gif" MINUS_IMAGE_PATH = test_files + "/simple-minus.gif" TIFF_IMAGE_PATH = test_files + "/leaves (spaced).tiff" NOT_AN_IMAGE_PATH = test_files + "/not_an_image.php" GIF_WITH_JPG_EXT = test_files + "/actually_a_gif.jpg" EXIF_IMAGE_PATH = test_files + "/trogdor.jpg" CAP_EXT_PATH = test_files + "/trogdor_capitalized.JPG" ANIMATION_PATH = test_files + "/animation.gif" PNG_PATH = test_files + "/png.png" COMP_IMAGE_PATH = test_files + "/composited.jpg" end