require 'rspec' require 'rack/test' require 'webmock/rspec' $LOAD_PATH.unshift("#{__dir__}/..", "#{__dir__}/support") require 'support/shared_contexts/async_context' require 'support/shared_contexts/rack_test_context' require 'support/shared_contexts/sitehub_context' require 'support/shared_contexts/middleware_context' require 'support/silent_warnings' require 'support/patch/rack/response' if ENV['coverage'] == 'true' require 'simplecov' SimpleCov.start do add_filter '/spec/' end end require 'lib/sitehub' RSpec.configure do include Rack::Test::Methods WebMock.enable! end