Sha256: 6e082c5a73ebc598ce8a535c733a9c1bca56bb7b33cb8cb9ffaac4db4981acaa

Contents?: true

Size: 631 Bytes

Versions: 3

Compression:

Stored size: 631 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'bourne'
require 'sham_rack'
require 'webmock/rspec'

PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))

$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')

require 'copy_tuner_client'

Dir.glob(File.join(PROJECT_ROOT, 'spec', 'support', '**', '*.rb')).each do |file|
  require(file)
end

WebMock.disable_net_connect!
ShamRack.mount FakeCopyTunerApp.new, 'copy-tuner.com', 443

RSpec.configure do |config|
  config.include ClientSpecHelpers
  config.include WebMock::API
  config.mock_with :mocha

  config.before do
    FakeCopyTunerApp.reset
    reset_config
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
copy_tuner_client-0.3.2 spec/spec_helper.rb
copy_tuner_client-0.3.1 spec/spec_helper.rb
copy_tuner_client-0.3.0 spec/spec_helper.rb