Update test

This commit is contained in:
Calvin Leung Huang
2015-06-04 14:55:00 -04:00
parent 244b9178b8
commit 8b06192aa1
3 changed files with 14 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ module Zanzibar
downloaded_secrets = {}
remote_secrets.each do |key, secret|
full_path = secret['prefix'] ? File.join(@setting['secret_dir'], secret['prefix']) : @setting['secret_dir']
full_path = secret.has_key?('prefix') ? File.join(@settings['secret_dir'], secret['prefix']) : @settings['secret_dir']
downloaded_secrets[key] = download_one_secret(secret['id'],
secret['label'],
full_path,