Last active
August 29, 2015 14:08
-
-
Save ftclausen/25c2663cbd474cd05944 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe 'test_mycookbook::doit' do | |
iaas_providers = [ 'ec2' ] | |
iaas_providers.each do |provider| | |
context "Test on cloud provider #{provider}" do | |
let(:chef_run) { ChefSpec::Runner.new(platform: 'ubuntu', version: '12.04').converge('test_mycookbook::doit') } | |
it 'should do the thing' do | |
expect(chef_run).to doit('thing') | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See original revision for issue - now update to work.