mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
dxsdk-27 modification as pre rupak
This commit is contained in:
parent
0016dfdea8
commit
921fe7d6e5
4 changed files with 8 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
require 'date'
|
require 'date'
|
||||||
|
|
||||||
Shindo.tests('Fog::HP::BlockStorage', ['hp']) do
|
Shindo.tests('Fog::HP::BlockStorage', ['hp', 'blockstorage']) do
|
||||||
credentials = {
|
credentials = {
|
||||||
:auth_token => 'auth_token',
|
:auth_token => 'auth_token',
|
||||||
:endpoint_url => 'http://127.0.0.1:0/path/',
|
:endpoint_url => 'http://127.0.0.1:0/path/',
|
||||||
|
@ -26,4 +26,8 @@ Shindo.tests('Fog::HP::BlockStorage', ['hp']) do
|
||||||
credentials[:expires] = nil
|
credentials[:expires] = nil
|
||||||
raises(Excon::Errors::SocketError) { Fog::HP::BlockStorage::Real.new(options) }
|
raises(Excon::Errors::SocketError) { Fog::HP::BlockStorage::Real.new(options) }
|
||||||
end
|
end
|
||||||
|
tests('Test no creds') do
|
||||||
|
options[:credentials] = nil
|
||||||
|
raises(Excon::Errors::SocketError) { Fog::HP::BlockStorage::Real.new(options) }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Shindo.tests('Fog::CDN::HP', ['hp']) do
|
Shindo.tests('Fog::CDN::HP', ['hp', 'cdn']) do
|
||||||
credentials = {
|
credentials = {
|
||||||
:auth_token => 'auth_token',
|
:auth_token => 'auth_token',
|
||||||
:endpoint_url => 'http://127.0.0.1/cdnpath/',
|
:endpoint_url => 'http://127.0.0.1/cdnpath/',
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Shindo.tests('Fog::Compute::HP', ['hp']) do
|
Shindo.tests('Fog::Compute::HP', ['hp', 'compute']) do
|
||||||
credentials = {
|
credentials = {
|
||||||
:auth_token => 'auth_token',
|
:auth_token => 'auth_token',
|
||||||
:endpoint_url => 'http://127.0.0.1/computepath/',
|
:endpoint_url => 'http://127.0.0.1/computepath/',
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Shindo.tests('Fog::Storage::HP', ['hp']) do
|
Shindo.tests('Fog::Storage::HP', ['hp', 'storage']) do
|
||||||
credentials = {
|
credentials = {
|
||||||
:auth_token => 'auth_token',
|
:auth_token => 'auth_token',
|
||||||
:endpoint_url => 'http://127.0.0.1/path/',
|
:endpoint_url => 'http://127.0.0.1/path/',
|
||||||
|
|
Loading…
Reference in a new issue