mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
don't redefine Fog.credentials (fixes odd occasional failing spec runs)
This commit is contained in:
parent
8bcdc5753b
commit
56fa149664
2 changed files with 0 additions and 5 deletions
|
@ -46,10 +46,6 @@ module Fog
|
||||||
@bin = new_bin
|
@bin = new_bin
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.credentials
|
|
||||||
{}
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.mock!
|
def self.mock!
|
||||||
@mocking = true
|
@mocking = true
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,7 +15,6 @@ module Fog
|
||||||
ENV["FOG_RC"] || '~/.fog'
|
ENV["FOG_RC"] || '~/.fog'
|
||||||
end
|
end
|
||||||
|
|
||||||
remove_method :credentials
|
|
||||||
def credentials
|
def credentials
|
||||||
@credentials ||= begin
|
@credentials ||= begin
|
||||||
path = File.expand_path(config_path)
|
path = File.expand_path(config_path)
|
||||||
|
|
Loading…
Add table
Reference in a new issue