Sha256: f1396009c8aae8ab25210d8fe8b7499ce811af7e6e16036a2b212b80b6c4ce4d
Contents?: true
Size: 653 Bytes
Versions: 5
Compression:
Stored size: 653 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 config.mock_with :mocha config.before do FakeCopycopterApp.reset reset_config end end
Version data entries
5 entries across 5 versions & 1 rubygems