Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (28 sloc) 761 Bytes
$:.unshift File.expand_path('../../ext', __FILE__)
require "vips"
puts "testing ruby-vips #{VIPS::VERSION}"
puts "linked against libvips #{VIPS::LIB_VERSION}"
require "rspec"
Dir["#{File.expand_path('../support', __FILE__)}/*.rb"].each do |file|
require file
end
RSpec.configure do |config|
config.include Spec::Path
config.include Spec::Helpers
config.before :all do
reset_formats!
reset_working!
end
config.before :each do
reset_working!
end
# Use this to print vips debug info before exit
# config.after :suite do
# GC.start
# VIPS.exit_info
# end
# save this for RSpec2
# config.filter_run_excluding :vips_lib_version => lambda{ |ver|
# return !Spec::Helpers.match_vips_version(ver)
# }
end
Something went wrong with that request. Please try again.