Sha256: 5c9e9d1e175cc7d98a87000d91dd33b1ccf37eccaff09982b3a876db6f67296f

Contents?: true

Size: 683 Bytes

Versions: 18

Compression:

Stored size: 683 Bytes

Contents

if RUBY_VERSION > "1.9"
  require 'simplecov'
  require 'simplecov-gem-adapter'
  SimpleCov.start 'gem'
end

require 'rspec'
require 'defog'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.include Helpers
end

RSPEC_TMP_PATH = Pathname.new(__FILE__).dirname + "tmp"
PROXY_BASE_PATH = RSPEC_TMP_PATH + "proxy"
LOCAL_CLOUD_PATH = RSPEC_TMP_PATH + "cloud"
RAILS_ROOT_PATH = RSPEC_TMP_PATH + "railsapp"

[PROXY_BASE_PATH, LOCAL_CLOUD_PATH, RAILS_ROOT_PATH].each do |path|
  path.rmtree if path.exist?
  path.mkpath
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
defog-0.9.3 spec/spec_helper.rb
defog-0.9.2 spec/spec_helper.rb
defog-0.9.1 spec/spec_helper.rb
defog-0.9.0 spec/spec_helper.rb
defog-0.8.0 spec/spec_helper.rb
defog-0.7.2 spec/spec_helper.rb
defog-0.7.1 spec/spec_helper.rb
defog-0.7.0 spec/spec_helper.rb
defog-0.6.1 spec/spec_helper.rb
defog-0.6.0 spec/spec_helper.rb
defog-0.5.0 spec/spec_helper.rb
defog-0.4.0 spec/spec_helper.rb
defog-0.3.2 spec/spec_helper.rb
defog-0.3.1 spec/spec_helper.rb
defog-0.3.0 spec/spec_helper.rb
defog-0.2.0 spec/spec_helper.rb
defog-0.1.1 spec/spec_helper.rb
defog-0.1.0 spec/spec_helper.rb