Sha256: 1d7dc70d410215f8763c39faa8a9feca6c2eff1dddf735ebd31b8461ce3c71bb

Contents?: true

Size: 694 Bytes

Versions: 11

Compression:

Stored size: 694 Bytes

Contents

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

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.at('copy-tuner.com', 443).mount(FakeCopyTunerApp.new)

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

11 entries across 11 versions & 1 rubygems

Version Path
copy_tuner_client-0.4.9 spec/spec_helper.rb
copy_tuner_client-0.4.8 spec/spec_helper.rb
copy_tuner_client-0.4.7 spec/spec_helper.rb
copy_tuner_client-0.4.6 spec/spec_helper.rb
copy_tuner_client-0.4.5 spec/spec_helper.rb
copy_tuner_client-0.4.4 spec/spec_helper.rb
copy_tuner_client-0.4.3 spec/spec_helper.rb
copy_tuner_client-0.4.2 spec/spec_helper.rb
copy_tuner_client-0.4.1 spec/spec_helper.rb
copy_tuner_client-0.4.0 spec/spec_helper.rb
copy_tuner_client-0.3.5 spec/spec_helper.rb