d3b952184d
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". |
||
---|---|---|
.. | ||
dbs_test.rb | ||
dev_test.rb | ||
framework_test.rb | ||
initializers_test.rb | ||
log_test.rb | ||
migrations_test.rb | ||
multi_dbs_test.rb | ||
notes_test.rb | ||
restart_test.rb | ||
routes_test.rb | ||
tmp_test.rb |