diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2014-03-12 11:24:32 -0700 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2014-03-12 11:24:32 -0700 |
commit | 4a461423ccae90fb594ce2af1456e2d84aa6e00b (patch) | |
tree | b73c6f991adf2e343624697900377b79dcd05bf5 /spec/acceptance/unsupported_spec.rb | |
parent | e467d8f0847bb85fc8b0789d2eb44dcca862c5d7 (diff) | |
parent | 9a3107fed17a1cfe9d829517ed91c345c6fec774 (diff) |
Merge pull request #234 from apenney/add-beaker
Add beaker framework.
Diffstat (limited to 'spec/acceptance/unsupported_spec.rb')
-rw-r--r-- | spec/acceptance/unsupported_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/acceptance/unsupported_spec.rb b/spec/acceptance/unsupported_spec.rb new file mode 100644 index 0000000..449f35a --- /dev/null +++ b/spec/acceptance/unsupported_spec.rb @@ -0,0 +1,10 @@ +require 'spec_helper_acceptance' + +describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do + it 'should fail' do + pp = <<-EOS + class { 'mysql::server': } + EOS + expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/unsupported osfamily/i) + end +end |