diff options
author | claudiob <claudiob@gmail.com> | 2014-12-24 23:45:45 +0100 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2015-01-02 15:31:33 -0800 |
commit | 93dd5028a0cd0363d9f4bfc97d9ce70f0f3e88c8 (patch) | |
tree | 2cbf2fcf7420a4c5213a3fa7e315158e99679c09 /activesupport/lib/active_support/json | |
parent | 2ade177b37c079666efa7705d57519072b8d8215 (diff) | |
download | rails-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 'activesupport/lib/active_support/json')
0 files changed, 0 insertions, 0 deletions