The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
mysql: add rspec test coverage for database, database_grant and database_user type and provider
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This ticket may be automatically exported to the MODULES project on JIRA using the button below:
Currently there is zero coverage for these types/provider:
Before we make any major changes to these we should add decent coverage.
The other parts of the module seem to have coverage however.
#1 Updated by Carl Caum over 2 years ago
I tried writing some tests for my work on converting the providers to use the ruby mysql gem. https://github.com/puppetlabs/puppetlabs-mysql/pull/30 I have tests for the manifests but am having trouble (due to ignorance) producing tests for the providers. The main problem is finding a way to ensure the SQL query contains text I expect.