Sha256: b75b2fe21440881328a4098852f4f542d26955b0b3eb74e7dea778af1b5935ea
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
require 'rubygems' require 'require_relative' if RUBY_VERSION < '1.9' require 'minitest/autorun' require_relative File.join('..', '..', 'lib', 'deltacloud_rack.rb') require_relative '../test_helper.rb' # Setup Deltacloud::API Sinatra instance # Deltacloud::configure(:ec2) do |server| server.root_url '/' server.version '2012-04-01' server.klass 'Deltacloud::EC2::API' server.logger Rack::DeltacloudLogger.setup(ENV['API_LOG'], ENV['API_VERBOSE']) server.default_driver :mock end Deltacloud.require_frontend! :ec2 Deltacloud[:ec2].require! Deltacloud[:ec2].default_frontend! def root_url; Deltacloud.config[:ec2].root_url; end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deltacloud-core-1.0.2 | tests/ec2/common.rb |