Sha256: 70095ccfc0e4c341dd01f57099a46d9dccbf1c7505d961e87bc263b86d97677b
Contents?: true
Size: 817 Bytes
Versions: 1
Compression:
Stored size: 817 Bytes
Contents
require_relative '../spec_helper' require_relative '../../lib/rapid-vaults/integration' describe Integration do context '.puppet' do after(:all) do %w[puppet_gpg_decrypt.rb puppet_gpg_encrypt.rb puppet_ssl_decrypt.rb puppet_ssl_encrypt.rb].each { |file| File.delete(file) } end it 'outputs the puppet integrations to the specified directory' do Integration.puppet({}) %w[puppet_gpg_decrypt.rb puppet_gpg_encrypt.rb puppet_ssl_decrypt.rb puppet_ssl_encrypt.rb].each do |file| expect(File.file?(file)).to be true end end end context '.chef' do after(:all) do File.delete('chef.rb') end it 'outputs the chef integrations to the specified directory' do Integration.chef({}) expect(File.file?('chef.rb')).to be true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rapid-vaults-1.1.1 | spec/rapid-vaults/integration_spec.rb |