[spec] Fix os unsupported failing message (refs: #371)
This commit is contained in:
parent
0648c8d3be
commit
8fbb917dd8
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user