A new clone and bundle with puppetlabs-mysql installs mocha 0.13.2. This version of Mocha has deprecated the use of require 'mocha' and instead recommends using require 'mocha/api' for test frameworks that are not Test::Unit or MiniTest.
This pull request fixes those deprecation warnings.
fix mocha deprecation warnings
This is issue 19536 on projects.puppetlabs.com
The travis build only fails for puppet version 2.6.0 (and was failing before submitting this pull request). Hopefully that doesn't block this PR getting merged.