rails/rails — pull request #6616 by dpassage (2012-06-04 00:29:23+00:00)
Title: resolver tests fail if mysql adapter not installed

The resolver tests fail if the mysql gem is not installed; this breaks
being able to run the sqlite3 tests without that gem.

To reproduce:

bundle install --without db
cd active record
bundle exec rake test_sqlite3

This fix ensures the tests will only run if the mysql gem is installed.

A better solution might be to move these tests into the per-adapter tests,
and test each adapter's resolver.