Sha256: 8ccbc002f1ebff8e554bf579fb1231132f8b801ca6a4881b4dae11ea9dcd8f52
Contents?: true
Size: 676 Bytes
Versions: 7
Compression:
Stored size: 676 Bytes
Contents
require 'simplecov' SimpleCov.start do add_filter "/spec/" end require 'consolr' # require our mocks require 'mocks/collins_auth' require 'mocks/collins' require 'mocks/ping' require 'webmock/rspec' WebMock.disable_net_connect!() # make sure we use the rspec config file ENV['CONSOLR_CONFIG'] = "#{File.dirname(__FILE__)}/configs/consolr_rspec.yml" ENV['COLLINS_CLIENT_CONFIG'] = "#{File.dirname(__FILE__)}/configs/collins_rspec.yml" RSpec.configure do |config| config.include MockCollinsAuthMixin config.include MockCollinsMixin config.include MockPingMixin config.before(:example) do |example| mock_collins_auth mock_collins mock_ping end end
Version data entries
7 entries across 7 versions & 1 rubygems