test/integration/cases/encrypted_data_bag.rb in knife-solo-0.3.0.pre2 vs test/integration/cases/encrypted_data_bag.rb in knife-solo-0.3.0.pre3

- old
+ new

@@ -3,9 +3,12 @@ module EncryptedDataBag def setup super FileUtils.cp $base_dir.join('support', 'data_bag_key'), 'data_bag_key' FileUtils.cp_r $base_dir.join('support', 'secret_cookbook'), 'cookbooks/secret_cookbook' + File.open('.chef/knife.rb', 'a') do |f| + f.puts 'encrypted_data_bag_secret "data_bag_key"' + end @password = "essential particles busy loud" create_data_bag end def create_data_bag