# frozen_string_literal: true

require "rspec/its"
require "pry"
require "coach"
require "coach/rspec"

Dir[Pathname(__FILE__).dirname.join("support", "**", "*.rb")].
  sort.
  each { |path| require path }

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end
end
