[spec] Fix os unsupported failing message (refs: #371)

This commit is contained in:
Sebastien Badia 2014-03-20 20:38:10 +01:00
parent 0648c8d3be
commit 8fbb917dd8
2 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,7 @@ class cloud(
) {
if ! ($::osfamily in [ 'RedHat', 'Debian' ]) {
fail("module puppet-cloud only support ${::osfamily}, only Red Hat or Debian")
fail("OS family unsuppored ye (${::osfamily}), module puppet-cloud only support RedHat or Debian")
}
# motd

View File

@ -96,10 +96,8 @@ describe 'cloud' do
end
it 'should fail' do
expect { subject }.to raise_error(/module puppet-cloud only support/)
expect { subject }.to raise_error(/module puppet-cloud only support/)
end
end
end