Sha256: 038b80d4722ae917f7d524263ef79e166453a9f5d205204130b57a8c908684a0
Contents?: true
Size: 705 Bytes
Versions: 67
Compression:
Stored size: 705 Bytes
Contents
Shindo.tests('Fog::Compute::HP', ['hp', 'compute']) do credentials = { :auth_token => 'auth_token', :endpoint_url => 'http://127.0.0.1/computepath/', :service_catalog => { :"Compute" => { :zone => 'http://127.0.0.1/computepath/'}}, :expires => (DateTime.now + 1).to_s } options = { :hp_access_key => 'key', :hp_secret_key => 'secret', :hp_tenant_id => 'tenant', :hp_avl_zone => 'zone', :hp_auth_uri => 'https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens', :credentials => credentials } tests('Test cached Compute credentials').returns(credentials) do conn = Fog::Compute::HP::Real.new(options) conn.credentials end end
Version data entries
67 entries across 67 versions & 5 rubygems