Sha256: dad31c80e4558f27df0e1f8e52c6c0cc8773c60cdac5f8d731f48fc3a4669be5

Contents?: true

Size: 630 Bytes

Versions: 38

Compression:

Stored size: 630 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', 80

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

38 entries across 38 versions & 1 rubygems

Version Path
copy_tuner_client-0.2.4 spec/spec_helper.rb
copy_tuner_client-0.2.3 spec/spec_helper.rb
copy_tuner_client-0.2.2 spec/spec_helper.rb
copy_tuner_client-0.2.1 spec/spec_helper.rb
copy_tuner_client-0.2.0 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta19 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta18 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta17 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta16 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta15 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta14 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta13 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta12 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta11 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta10 spec/spec_helper.rb
copy_tuner_client-0.0.15 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta9 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta8 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta7 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta6 spec/spec_helper.rb