Skip to content

Commit d9d0271

Browse files
author
Travis Fields
committed
MODULES-1520 add test to assert it does not break
1 parent 4203867 commit d9d0271

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/acceptance/types/mysql_user_spec.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,14 @@ class { 'mysql::server': }
5252
end
5353
end
5454
end
55+
context 'using resource should throw no errors' do
56+
describe 'find users' do
57+
it {
58+
on default, puppet('resource mysql_user'), {:catch_failures => true} do |r|
59+
expect(r.stdout).to_not match(/Error:/)
60+
expect(r.stdout).to_not match(/must be properly quoted, invalid character:/)
61+
end
62+
}
63+
end
64+
end
5565
end

0 commit comments

Comments
 (0)