rails--rails/railties/test/application/rake
Rafael Mendonça França d3b952184d
Make sure this test check the issue solved in #31135
Before this change this test was passing even if we revert #31135. The
reason for that is that `app 'development'` will load the environment in
the test process and it is happening before db_create_and_drop is
called.

This was not asserting that the environment was loaded in the db:create
task itself.

To test it we enhance the db:create task with a block that writes to a
tmp file the value of the config. If the environment is loaded before
that task enhancement runs the content of the file will have "true"
insteand of "false".
2018-09-22 00:46:44 -04:00
..
dbs_test.rb Make sure this test check the issue solved in #31135 2018-09-22 00:46:44 -04:00
dev_test.rb Respect config setting when output deprecation notice in rake tasks 2018-09-04 20:06:54 +09:00
framework_test.rb
initializers_test.rb Respect config setting when output deprecation notice in rake tasks 2018-09-04 20:06:54 +09:00
log_test.rb
migrations_test.rb Fix `CustomCops/AssertNot` to allow it to have failure message 2018-05-13 11:32:47 +09:00
multi_dbs_test.rb Convert configs_for to kwargs, add include_replicas 2018-08-31 16:07:09 -04:00
notes_test.rb Respect config setting when output deprecation notice in rake tasks 2018-09-04 20:06:54 +09:00
restart_test.rb
routes_test.rb Respect config setting when output deprecation notice in rake tasks 2018-09-04 20:06:54 +09:00
tmp_test.rb