mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
oops! 🙀
This commit is contained in:
parent
f7b3171754
commit
c3fa36a88a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class QueryCacheTest < ActiveRecord::TestCase
|
|||
if in_memory_db?
|
||||
# Separate connections to an in-memory database create an entirely new database,
|
||||
# with an empty schema etc, so we just stub out this schema on the fly.
|
||||
new_pool.with_connection do |connection|
|
||||
ActiveRecord::Base.connection_pool.with_connection do |connection|
|
||||
connection.create_table :tasks do |t|
|
||||
t.datetime :starting
|
||||
t.datetime :ending
|
||||
|
|
Loading…
Reference in a new issue