1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test
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
..
application Make sure this test check the issue solved in #31135 2018-09-22 00:46:44 -04:00
command Use did_you_mean spell checker for option suggestions 2018-03-23 11:36:03 +02:00
commands Support environment specific credentials file. (#33521) 2018-09-19 14:02:00 -07:00
configuration Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
engine Use correct variable 2018-09-11 07:06:30 +09:00
fixtures/lib Remove unused fixtures 2017-09-26 07:45:42 +09:00
generators Remove mysql2 gem version requirement "< 0.6.0" 2018-09-14 00:19:36 +00:00
isolation Merge pull request #33770 from eileencodes/multi-db-improvements-part-3 2018-09-01 09:49:01 -04:00
minitest rubocop single space after assignment 2018-02-19 11:23:47 +05:30
railties Enable Layout/EmptyLinesAroundBlockBody to reduce review cost in the future 2018-07-12 21:29:48 +09:00
test_unit Show rails instead of bin/rails on USAGE instructions 2018-07-06 22:46:54 +02:00
abstract_unit.rb Add credentials using a generic EncryptedConfiguration class (#30067) 2017-09-11 20:21:20 +02:00
app_loader_test.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00
backtrace_cleaner_test.rb Use backtrace cleaner to clean up backtrace for verbose query logs 2018-08-14 09:15:28 +10:00
code_statistics_calculator_test.rb use "minitest" consistently 2018-09-11 23:57:25 +02:00
code_statistics_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
console_helpers.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
credentials_test.rb Support environment specific credentials file. (#33521) 2018-09-19 14:02:00 -07:00
engine_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
env_helpers.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
generators_test.rb Remove unnecessary test 2018-06-03 20:53:05 +09:00
initializable_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
json_params_parsing_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
path_generation_test.rb Add credentials using a generic EncryptedConfiguration class (#30067) 2017-09-11 20:21:20 +02:00
paths_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
rack_logger_test.rb Fix test added in #32444 2018-04-06 14:00:13 +03:00
rails_info_controller_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
rails_info_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
secrets_test.rb Deprecate encrypted secrets in favor of credentials. 2017-11-12 17:50:09 +01:00
version_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00