mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
use same credentials in bin and specs
This commit is contained in:
parent
9480e3ef6e
commit
f864db9d9e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ require "#{current_directory}/../lib/fog"
|
|||
|
||||
def credentials
|
||||
@credentials ||= begin
|
||||
credentials_path = "#{File.dirname(__FILE__)}/credentials.yml"
|
||||
credentials_path = File.expand_path('~/.fog')
|
||||
credentials_data = File.open(credentials_path).read
|
||||
YAML.load(credentials_data)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue