mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[gleysys] fixes for mocked test setup
This commit is contained in:
parent
483fde41a9
commit
e6f09326e9
2 changed files with 6 additions and 2 deletions
|
@ -35,7 +35,10 @@ module Fog
|
|||
|
||||
|
||||
class Mock
|
||||
include Collections
|
||||
|
||||
def initialize(options)
|
||||
Fog::Mock.not_implemented
|
||||
end
|
||||
|
||||
def request(method_name, options = {})
|
||||
Fog::Mock.not_implemented
|
||||
|
@ -44,7 +47,6 @@ module Fog
|
|||
end
|
||||
|
||||
class Real
|
||||
include Collections
|
||||
|
||||
def initialize(options)
|
||||
require 'multi_json'
|
||||
|
|
|
@ -22,6 +22,8 @@ if Fog.mock?
|
|||
:ecloud_username => 'ecloud_username',
|
||||
:ecloud_password => 'ecloud_password',
|
||||
:ecloud_versions_uri => 'http://ecloud.versions.uri',
|
||||
:glesys_username => 'glesys_username',
|
||||
:glesys_api_key => 'glesys_api_key',
|
||||
:go_grid_api_key => 'go_grid_api_key',
|
||||
:go_grid_shared_secret => 'go_grid_shared_secret',
|
||||
:google_storage_access_key_id => 'google_storage_access_key_id',
|
||||
|
|
Loading…
Reference in a new issue