Skip to content

Commit

Permalink
MODULES-1520 add test to assert it does not break
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Fields committed Jan 1, 2015
1 parent 4203867 commit d9d0271
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/acceptance/types/mysql_user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,14 @@ class { 'mysql::server': }
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

0 comments on commit d9d0271

Please sign in to comment.