Sha256: 74ef30fcdf0db1ee890d05cce974e1e4f38d4ef90826e4214b7e6e3fca7230ac

Contents?: true

Size: 750 Bytes

Versions: 3

Compression:

Stored size: 750 Bytes

Contents

ENV['API_DRIVER']   = 'ec2'
ENV['TESTS_API_USERNAME'] = 'AKIAIZ63KHGXIWDMBY6Q'
ENV['TESTS_API_PASSWORD'] = 'zUfBCbML2S6pXKS44eEEXw0Cf/G8z9hMSxP2hcLV'
ENV['RACK_ENV']     = 'test'

$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
require 'tests/minitest_common'

require 'vcr'
require 'timecop'

VCR.configure do |c|
  c.cassette_library_dir = File.join(File.dirname(__FILE__), 'fixtures')
  c.hook_into :webmock
  c.default_cassette_options = { :record => :new_episodes }
  #c.default_cassette_options = { :record => :none }
end

# Let's set time that timecop will use to freeze
# Time.now will then return this time instead of 'real' system time

FREEZED_TIME = DateTime.parse("2012-05-31 12:58:00 +0200")
Timecop.freeze(FREEZED_TIME)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deltacloud-core-1.0.2 tests/deprecated/drivers/ec2/common.rb
deltacloud-core-1.0.1 tests/drivers/ec2/common.rb
deltacloud-core-1.0.0 tests/drivers/ec2/common.rb