Sha256: cca829f88d809cdc86bdc40bd95dcf0f9f6471642e7a54e75b75c8a95da7f38b
Contents?: true
Size: 986 Bytes
Versions: 4
Compression:
Stored size: 986 Bytes
Contents
if self.class.const_defined?(:EY_ROOT) raise "don't require the spec helper twice!" end if ENV['COVERAGE'] require 'simplecov' SimpleCov.start end EY_ROOT = File.expand_path("../..", __FILE__) require 'rubygems' require 'bundler/setup' # Bundled gems require 'fakeweb' require 'fakeweb_matcher' require 'multi_json' # Engineyard gem $LOAD_PATH.unshift(File.join(EY_ROOT, "lib")) require 'engineyard-cloud-client' require 'engineyard-cloud-client/test' # Spec stuff require 'rspec' require 'tmpdir' require 'yaml' require 'pp' support = Dir[File.join(EY_ROOT,'/spec/support/*.rb')] support.each{|helper| require helper } #support = Dir[File.join(EY_ROOT,'/spec/support/fake_awsm/*.rb')] #support.each{|helper| require helper } RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.include SpecHelpers config.before(:all) do FakeWeb.allow_net_connect = false end end
Version data entries
4 entries across 4 versions & 1 rubygems