rails/activerecord/test/cases/adapters/sqlite3
Jonathan Hefner c806be33f7 Ensure sqlite3_mem transaction tests run in memory
SQLite3 does not recognize paths as file URIs unless the
`SQLite3::Constants::Open::URI` flag is set.  Therefore, without this
flag, a path like "file::memory:" is interpreted as a filename, causing
a "file::memory:" file to be created and used as the database.  Most
tests in `SQLite3TransactionTest` picked up this flag from
`shared_cache_flags`, but a few did not.  Because those tests were
creating a file, the path was changed in #38620 such that it no longer
pointed to an in-memory database.

This commit restores the database path as "file::memory:" and ensures
the URI flag is set whenever `in_memory_db?` is true.
2020-05-05 19:59:35 -05:00
..
collation_test.rb Fix sqlite3 collation parsing when using decimal columns. 2019-06-04 15:47:21 +02:00
copy_table_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
explain_test.rb Change tests to use models which don't ignore any columns 2017-11-13 17:41:41 -02:00
json_test.rb Emulate JSON types for SQLite3 adapter (#29664) 2017-12-03 15:28:10 +09:00
quoting_test.rb Change SQLite3Adapter to always represent boolean values as integers 2019-01-17 16:08:32 -05:00
sqlite3_adapter_test.rb Test queries with leading comments on all adapters 2020-04-13 08:25:09 +01:00
sqlite3_create_folder_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
statement_pool_test.rb removed unnecessary semicolons 2017-10-28 17:39:58 +09:00
transaction_test.rb Ensure sqlite3_mem transaction tests run in memory 2020-05-05 19:59:35 -05:00