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/application
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
..
configuration Use respond_to test helpers 2018-01-25 23:32:58 -05:00
initializers Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
middleware Purpose Metadata For Signed And Encrypted Cookies 2018-08-12 21:50:35 +05:30
rack Log the remote IP addr of clients behind a proxy 2018-07-31 20:45:37 +05:30
rake Make sure this test check the issue solved in #31135 2018-09-22 00:46:44 -04:00
asset_debugging_test.rb Pass the skip_pipeline option in image_submit_tag 2018-03-14 11:18:06 +00:00
assets_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
bin_setup_test.rb Remove unnecessary migration deletion 2017-11-08 13:24:16 +09:00
configuration_test.rb Switch to supports_cache_versioning? check to a class method 2018-09-20 20:40:31 -05:00
console_test.rb Remove all references to slave in the codebase 2018-09-10 16:31:32 -04:00
content_security_policy_test.rb Remove trailing semi-colon from CSP 2018-02-19 12:20:43 +00:00
current_attributes_integration_test.rb
dbconsole_test.rb Use correct variable 2018-09-11 07:06:30 +09:00
generators_test.rb Do not show credentials in generators help 2017-11-09 20:59:16 +09:00
help_test.rb
integration_test_case_test.rb rails new runs rails active_storage:install 2017-11-06 21:29:14 +00:00
loading_test.rb Add a test that exercice better the behavior we expect in the query cache 2018-09-12 20:57:52 -04:00
mailer_previews_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
middleware_test.rb Multipart file uploads are very rare in API only apps so don't include Rack::TemfileReaper in default middleware stack for API only apps 2018-02-17 15:52:41 -05:00
multiple_applications_test.rb
paths_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
per_request_digest_cache_test.rb Include ActiveSupport::Testing::MethodCallAssertions in railties/test/isolation/abstract_unit.rb 2018-06-09 00:00:28 +03:00
rackup_test.rb Remove unnecessary migration deletion 2017-11-08 13:24:16 +09:00
rake_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
rendering_test.rb Fix RenderingTest in railtie 2018-04-04 06:12:24 +09:00
routing_test.rb
runner_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
server_test.rb Remove all references to slave in the codebase 2018-09-10 16:31:32 -04:00
test_runner_test.rb Ensure that running tests in parallel doesn't display schema load output 2018-08-08 16:20:38 +03:00
test_test.rb Add test parallelization to Rails 2018-02-15 19:21:24 -05:00
url_generation_test.rb
version_test.rb