mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Allows tests to run against FOG_RC setting
dce5e800fd
introduced
changes in the test helper to use a specific test file (`tests/.fog`)
and set of credentials (`default`) for tests.
This changes this to honour the existing environment variables if set.
This commit is contained in:
parent
e67eba360c
commit
aae6ed3686
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
ENV['FOG_RC'] = File.expand_path '../.fog', __FILE__
|
||||
ENV['FOG_CREDENTIAL'] = 'default'
|
||||
ENV['FOG_RC'] = ENV['FOG_RC'] || File.expand_path('../.fog', __FILE__)
|
||||
ENV['FOG_CREDENTIAL'] = ENV['FOG_CREDENTIAL'] || 'default'
|
||||
|
||||
require 'fog'
|
||||
require 'fog/bin' # for available_providers and registered_providers
|
||||
|
|
Loading…
Reference in a new issue