Sha256: b71cdf58b99613072eec696bda5976c591dc3aa729a420e97189f93966e1750a
Contents?: true
Size: 788 Bytes
Versions: 7
Compression:
Stored size: 788 Bytes
Contents
ENV['environment'] ||= 'test' require 'simplecov' require 'coveralls' SimpleCov.formatter = Coveralls::SimpleCov::Formatter SimpleCov.start do add_filter '/spec' end Coveralls.wear! # - RSpec adds ./lib to the $LOAD_PATH require 'hydra/derivatives' # Resque.inline = Rails.env.test? require 'byebug' unless ENV['TRAVIS'] require 'active_fedora/cleaner' ActiveFedora::Base.logger = Logger.new(STDOUT) RSpec.configure do |config| config.before(:each) do ActiveFedora::Cleaner.clean! end end # Workaround for RAW image support until these are pushed upstream to # the MIME Types gem require 'mime-types' dng_format = MIME::Type.new('image/x-adobe-dng') dng_format.extensions = 'dng' MIME::Types.add(dng_format) def fixture_path File.expand_path("../fixtures", __FILE__) end
Version data entries
7 entries across 7 versions & 1 rubygems