aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-12-24 23:45:45 +0100
committerclaudiob <claudiob@gmail.com>2015-01-02 15:31:33 -0800
commit93dd5028a0cd0363d9f4bfc97d9ce70f0f3e88c8 (patch)
tree2cbf2fcf7420a4c5213a3fa7e315158e99679c09 /activerecord/lib/active_record/migration.rb
parent2ade177b37c079666efa7705d57519072b8d8215 (diff)
downloadrails-93dd5028a0cd0363d9f4bfc97d9ce70f0f3e88c8.tar.gz
rails-93dd5028a0cd0363d9f4bfc97d9ce70f0f3e88c8.tar.bz2
rails-93dd5028a0cd0363d9f4bfc97d9ce70f0f3e88c8.zip
Loosen test about order of initializers
This commit modifies the code (but not the purpose) of a test that checks that > initializers are executed after application configuration initializers Currently the test hard-codes the *exact* initializers that are expected to occur before a custom one. This can cause the test to fail even if the expectation still passes. This commit loosens the test by simply checking that, in the array of initializers, the custom initializers (called `dummy_initializer` in the example) is executed after the last occurrence of `load_config_initializers`.
Diffstat (limited to 'activerecord/lib/active_record/migration.rb')
0 files changed, 0 insertions, 0 deletions