Sha256: 621c068341dd19cf81aed72a1d7943cb24f5208d3845a6d5d818f71acef2381b

Contents?: true

Size: 651 Bytes

Versions: 35

Compression:

Stored size: 651 Bytes

Contents

require 'rubygems'
require 'rspec'
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.before do
    FakeCopyTunerApp.reset
    reset_config
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
copy_tuner_client-0.19.0 spec/spec_helper.rb
copy_tuner_client-0.18.0 spec/spec_helper.rb
copy_tuner_client-0.17.1 spec/spec_helper.rb
copy_tuner_client-0.16.3 spec/spec_helper.rb
copy_tuner_client-0.16.2 spec/spec_helper.rb
copy_tuner_client-0.16.1 spec/spec_helper.rb
copy_tuner_client-0.16.0 spec/spec_helper.rb
copy_tuner_client-0.15.1 spec/spec_helper.rb
copy_tuner_client-0.15.0 spec/spec_helper.rb
copy_tuner_client-0.14.2 spec/spec_helper.rb
copy_tuner_client-0.14.1 spec/spec_helper.rb
copy_tuner_client-0.14.0 spec/spec_helper.rb
copy_tuner_client-0.13.6 spec/spec_helper.rb
copy_tuner_client-0.13.5 spec/spec_helper.rb
copy_tuner_client-0.13.3 spec/spec_helper.rb
copy_tuner_client-0.13.2 spec/spec_helper.rb
copy_tuner_client-0.13.1 spec/spec_helper.rb
copy_tuner_client-0.13.0 spec/spec_helper.rb
copy_tuner_client-0.12.0 spec/spec_helper.rb
copy_tuner_client-0.11.0 spec/spec_helper.rb