require 'rubygems' require 'bundler/setup' require 'license_finder' require 'pry' require 'rspec' require 'webmock/rspec' require 'rspec/its' Dir[File.join(File.dirname(__FILE__), 'support', '**', '*.rb')].each do |file| require file end RSpec.configure do |config| config.mock_with :rspec end RSpec.configure do |config| config.after(:suite) do ["./doc"].each do |tmp_dir| tmp_dir = Pathname(tmp_dir) tmp_dir.rmtree if tmp_dir.directory? end end config.include LicenseFinder::TestFixtures end