2014-07-28 07:51:22 +02:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe 'mysql::server' do
|
|
|
|
on_pe_unsupported_platforms.each do |pe_version,pe_platforms|
|
|
|
|
pe_platforms.each do |pe_platform,facts|
|
|
|
|
describe "on #{pe_version} #{pe_platform}" do
|
|
|
|
let(:facts) { facts }
|
|
|
|
|
|
|
|
context 'should gracefully fail' do
|
2014-08-08 21:27:07 +02:00
|
|
|
it { expect { is_expected.to compile}.to raise_error(Puppet::Error, /Unsupported platform:/) }
|
2014-07-28 07:51:22 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|