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
Yves Senn 5c4495538b bring back db:test:prepare.
This reverts deprecations added in #13528.
The task is brought back for two reasons:
  1. Give plugins a way to hook into the test database initialization process
  2. Give the user a way to force a test database synchronization

While `test:prepare` is still a dependency of every test task, `db:test:prepare`
no longer hooks into it. This means that `test:prepare` runs before the schema
is synchronized. Plugins, which insert data can now hook into `db:test:prepare`.

The automatic schema maintenance can't detect when a migration is rolled-back,
modified and reapplied. In this case the user has to fall back to `db:test:prepare`
to force the synchronization to happen.
2014-11-25 18:17:01 +01:00
..
configuration Fix setting simple values to the new config.x 2014-08-19 21:59:01 -03:00
initializers Expectations first 2014-08-28 14:41:00 +09:00
middleware secret_token is now saved in Rails.application.secrets.secret_token 2014-11-02 21:21:09 -06:00
rack
rake bring back db:test:prepare. 2014-11-25 18:17:01 +01:00
asset_debugging_test.rb
assets_test.rb
build_original_fullpath_test.rb
configuration_test.rb Added tests for log_level deprecation 2014-11-25 03:05:42 -08:00
console_test.rb
generators_test.rb
loading_test.rb
mailer_previews_test.rb Deprecate *_path methods in mailers 2014-07-30 12:01:45 -05:00
middleware_test.rb inject Rack::Lock if config.eager_load is false 2014-09-18 23:04:08 +02:00
multiple_applications_test.rb secret_token is now saved in Rails.application.secrets.secret_token 2014-11-02 21:21:09 -06:00
paths_test.rb
rackup_test.rb
rake_test.rb
rendering_test.rb
routing_test.rb
runner_test.rb
test_runner_test.rb Add test:jobs task 2014-09-15 09:43:02 +09:00
test_test.rb bring back db:test:prepare. 2014-11-25 18:17:01 +01:00
url_generation_test.rb secret_token is now saved in Rails.application.secrets.secret_token 2014-11-02 21:21:09 -06:00