Created
April 3, 2015 21:13
-
-
Save mgagne/efcf6e904af897aa8932 to your computer and use it in GitHub Desktop.
This file contains 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' | |
require 'yaml' | |
vagrant_yaml = YAML.load_file('Vagrantfile.yaml') | |
vagrant_yaml['hosts'].each do |hostname, config| | |
describe "#{hostname}" do | |
let(:node) { hostname } | |
let(:facts) do | |
{:environment => 'dev'} | |
end | |
it { is_expected.to contain_class('openstack_infra::server') } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment