mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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". |
||
---|---|---|
.. | ||
configuration | ||
initializers | ||
middleware | ||
rack | ||
rake | ||
asset_debugging_test.rb | ||
assets_test.rb | ||
bin_setup_test.rb | ||
configuration_test.rb | ||
console_test.rb | ||
content_security_policy_test.rb | ||
current_attributes_integration_test.rb | ||
dbconsole_test.rb | ||
generators_test.rb | ||
help_test.rb | ||
integration_test_case_test.rb | ||
loading_test.rb | ||
mailer_previews_test.rb | ||
middleware_test.rb | ||
multiple_applications_test.rb | ||
paths_test.rb | ||
per_request_digest_cache_test.rb | ||
rackup_test.rb | ||
rake_test.rb | ||
rendering_test.rb | ||
routing_test.rb | ||
runner_test.rb | ||
server_test.rb | ||
test_runner_test.rb | ||
test_test.rb | ||
url_generation_test.rb | ||
version_test.rb |