Sha256: c16a245cac4ef9a5b13ef0f51a24a898f6b2d952eb80a0292780df7e0aecf259

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

require 'ann_wrapper'
require 'webmock/rspec'
require 'support/fake_ann'

WebMock.disable_net_connect!(allow_localhost: true)

RSpec.configure do |config|
	# route all api requests to fake api
	config.before(:each) do
		stub_request(:any, /cdn.animenewsnetwork.com/).to_rack(FakeANN)
	end

  # Use color in STDOUT
  config.color_enabled = true

  # Use color not only in STDOUT but also in pagers and files
  config.tty = true

  # Use the specified formatter
  config.formatter = :documentation # :progress, :html, :textmate
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ann_wrapper-1.1.4 spec/spec_helper.rb