Sha256: 4561482bbed360ddf067e9c42af38af7dfa37f391bdabf7bdd15d7a4b288be23

Contents?: true

Size: 652 Bytes

Versions: 1

Compression:

Stored size: 652 Bytes

Contents

# Coverage
require 'coveralls'
Coveralls.wear!

require 'spyke'
require 'faraday_middleware'
require 'minitest/autorun'
require 'minitest/reporters'
require 'mocha/mini_test'
require 'multi_json'
require 'pry'
require 'webmock/minitest'

# Require support files
Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }

# Pretty colors
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new

# Don't raise but report uncaught net connections
WebMock.allow_net_connect!
WebMock.stub_request(:any, /.*/).to_return do |request|
  puts "\e[35mUNSTUBBED REQUEST:\e[0m #{request.method.upcase} #{request.uri}"
  { body: nil }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spyke-1.8.4 test/test_helper.rb