diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-12-28 09:00:38 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-12-28 09:00:38 +0100 |
commit | 4b1f67a11a6fd5680a7ce37b695a4d86e6a2c302 (patch) | |
tree | b8fb57fd40bee55ba3c1a4c12ebef210774b151f /activerecord/test/cases/integration_test.rb | |
parent | 6cce589c5e43f9a713f29faa2926ee7a70292dd5 (diff) | |
download | rails-4b1f67a11a6fd5680a7ce37b695a4d86e6a2c302.tar.gz rails-4b1f67a11a6fd5680a7ce37b695a4d86e6a2c302.tar.bz2 rails-4b1f67a11a6fd5680a7ce37b695a4d86e6a2c302.zip |
tests, don't connect to mysql when running sqlite3 tests.
This resolves the following error:
```
Error:
TestAdapterWithInvalidConnection#test_inspect_on_Model_class_does_not_raise:
TypeError: superclass mismatch for class Mysql2Adapter
/Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:35:in `<module:ConnectionAdapters>'
/Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:34:in `<module:ActiveRecord>'
/Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:6:in `<top (required)>'
/Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `require'
/Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `block in require'
/Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:268:in `load_dependency'
/Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `require'
/Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/connection_specification.rb:174:in `spec'
/Users/senny/Projects/rails/activerecord/lib/active_record/connection_handling.rb:50:in `establish_connection'
/Users/senny/Projects/rails/activerecord/test/cases/invalid_connection_test.rb:12:in `setup'
```
Diffstat (limited to 'activerecord/test/cases/integration_test.rb')
0 files changed, 0 insertions, 0 deletions