Commit 79a912c
committed
Mysql, fix some AR test failing due mysql2_connection (database_exists? is implemented in abstract class)
1) Error:
Mysql2AdapterTest#test_database_exists_returns_false_if_database_does_not_exist:
NoMethodError: undefined method `mysql2_connection' for ActiveRecord::Base:Class
Did you mean? connection
lib/active_record/dynamic_matchers.rb:22:in `method_missing'
/home/jessec/bryk/vendor_gems/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:88:in `database_exists?'
test/cases/adapters/mysql2/mysql2_adapter_test.rb:83:in `test_database_exists_returns_false_if_database_does_not_exist'
...1 parent 0b8612a commit 79a912c
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 87 | | |
97 | 88 | | |
98 | 89 | | |
| |||
0 commit comments