1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/connection_adapters
eileencodes 154abcab6e Don't allow mutations on configuration_hash
We want to introduce an object-based DSL for building and modifying
configuration objects. As part of that we want to make sure that users
don't think they can modify configuration_hash values and have them
change the configuration. For that reason we're going to freeze the
Hash here, and have modified places in tests where we were modifying
these hashes.

The commit here also adds a test for the Test Databases and in that work
we found that we were calling `Rails.env` and Active Record doesn't load
Rails.

Co-authored-by: John Crepezzi <john.crepezzi@gmail.com>
2019-12-19 09:15:24 -05:00
..
adapter_leasing_test.rb Rename the classes 2019-11-06 19:08:47 -05:00
connection_handler_test.rb Don't allow mutations on configuration_hash 2019-12-19 09:15:24 -05:00
connection_handlers_multi_db_test.rb Deprecate database kwarg from connected_to without replacement 2019-12-03 12:26:49 -08:00
connection_handlers_multi_pool_config_test.rb Fix making an extra db file after testing for sqlite3 2019-11-26 09:32:22 +09:00
merge_and_resolve_default_url_config_test.rb Move name key on configuration hash into DatabaseConfig 2019-12-17 15:59:49 -05:00
mysql_type_lookup_test.rb MySQL: Fix schema dumping enum and set columns correctly 2019-07-05 18:42:41 +09:00
schema_cache_test.rb Cache full MySQL version in schema cache 2019-04-11 12:57:19 -04:00
type_lookup_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00