1
0
Fork 0
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:
howete 2013-03-27 12:44:08 -06:00 committed by Rupak Ganguly
parent 0016dfdea8
commit 921fe7d6e5
4 changed files with 8 additions and 4 deletions

View file

@ -1,6 +1,6 @@
require 'date'
Shindo.tests('Fog::HP::BlockStorage', ['hp']) do
Shindo.tests('Fog::HP::BlockStorage', ['hp', 'blockstorage']) do
credentials = {
:auth_token => 'auth_token',
:endpoint_url => 'http://127.0.0.1:0/path/',
@ -26,4 +26,8 @@ Shindo.tests('Fog::HP::BlockStorage', ['hp']) do
credentials[:expires] = nil
raises(Excon::Errors::SocketError) { Fog::HP::BlockStorage::Real.new(options) }
end
tests('Test no creds') do
options[:credentials] = nil
raises(Excon::Errors::SocketError) { Fog::HP::BlockStorage::Real.new(options) }
end
end

View file

@ -1,4 +1,4 @@
Shindo.tests('Fog::CDN::HP', ['hp']) do
Shindo.tests('Fog::CDN::HP', ['hp', 'cdn']) do
credentials = {
:auth_token => 'auth_token',
:endpoint_url => 'http://127.0.0.1/cdnpath/',

View file

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute::HP', ['hp']) do
Shindo.tests('Fog::Compute::HP', ['hp', 'compute']) do
credentials = {
:auth_token => 'auth_token',
:endpoint_url => 'http://127.0.0.1/computepath/',

View file

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage::HP', ['hp']) do
Shindo.tests('Fog::Storage::HP', ['hp', 'storage']) do
credentials = {
:auth_token => 'auth_token',
:endpoint_url => 'http://127.0.0.1/path/',