Sha256: 4db3342c568e45074d7da95e1986fc7c06147545d8e353b8d6348f864c01ff36

Contents?: true

Size: 658 Bytes

Versions: 4

Compression:

Stored size: 658 Bytes

Contents

require 'rubygems'
require 'spec'
require 'spec/autorun'
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 "copycopter_client"

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

WebMock.disable_net_connect!
ShamRack.mount(FakeCopycopterApp.new, "copycopter.com")

Spec::Runner.configure do |config|
  config.include ClientSpecHelpers
  config.include WebMock::API
  config.mock_with :mocha
  config.before do
    FakeCopycopterApp.reset
    reset_config
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
copycopter_client-1.0.0.beta9 spec/spec_helper.rb
copycopter_client-1.0.0.beta8 spec/spec_helper.rb
copycopter_client-1.0.0.beta7 spec/spec_helper.rb
copycopter_client-1.0.0.beta6 spec/spec_helper.rb