MODULES-1520 add test to assert it does not break
This commit is contained in:
parent
4203867c01
commit
d9d02718b8
1 changed files with 10 additions and 0 deletions
|
@ -52,4 +52,14 @@ describe 'mysql_user' do
|
|||
end
|
||||
end
|
||||
end
|
||||
context 'using resource should throw no errors' do
|
||||
describe 'find users' do
|
||||
it {
|
||||
on default, puppet('resource mysql_user'), {:catch_failures => true} do |r|
|
||||
expect(r.stdout).to_not match(/Error:/)
|
||||
expect(r.stdout).to_not match(/must be properly quoted, invalid character:/)
|
||||
end
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue