Sha256: cbe64849a165a6258569cd4a640c9e352991f5fca70d5977d18501cc8f00385c

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

require 'rubygems'
require 'bundler/setup'
require 'rspec'
require 'mocha/api'

require 'mini_magick'

RSpec.configure do |config|
  config.mock_framework = :mocha
  config.color          = true
  config.formatter      = 'documentation'
  config.raise_errors_for_deprecations!
end

# Image files from testunit port to RSpec
test_files = File.expand_path(File.dirname(__FILE__) + '/files')
TEST_FILES_PATH          = test_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'
ERRONEOUS_IMAGE_PATH     = test_files + '/erroneous.jpg'
PSD_IMAGE_PATH           = test_files + '/layers.psd'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mini_magick-3.8.1 spec/spec_helper.rb