LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib]))
$LOAD_PATH.unshift(LIB_DIR) unless $LOAD_PATH.include?(LIB_DIR)

require 'rspec'

require 'filepath'

require File.join(File.dirname(__FILE__), 'fixtures')

RSpec.configure do |config|
	config.filter_run_excluding :broken => true

	config.expect_with :rspec do |rspec|
		rspec.syntax = [:should, :expect]
	end

	config.mock_with :rspec do |mocks|
		mocks.syntax = [:should, :expect]
	end
end

require 'rspec/collection_matchers'

# This is free software released into the public domain (CC0 license).
