Closed psyreactor closed 9 years ago
require 'chefspec' describe 'example::default' do let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) } it 'deploy key foo' do expect(chef_run).to create_deploy_key('foo') end end
Thanks!