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.1.1.beta5 spec/spec_helper.rb
copy_tuner_client-0.0.14 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta4 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta3 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta2 spec/spec_helper.rb
copy_tuner_client-0.1.1.beta spec/spec_helper.rb
copy_tuner_client-0.1.0.beta spec/spec_helper.rb
copy_tuner_client-0.0.12 spec/spec_helper.rb
copy_tuner_client-0.0.11 spec/spec_helper.rb
copy_tuner_client-0.0.9 spec/spec_helper.rb
copy_tuner_client-0.0.8 spec/spec_helper.rb
copy_tuner_client-0.0.7 spec/spec_helper.rb
copy_tuner_client-0.0.6 spec/spec_helper.rb
copy_tuner_client-0.0.5 spec/spec_helper.rb
copy_tuner_client-0.0.4 spec/spec_helper.rb
copy_tuner_client-0.0.3 spec/spec_helper.rb
copy_tuner_client-0.0.2 spec/spec_helper.rb
copy_tuner_client-0.0.1 spec/spec_helper.rb