aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/dependencies/autoload.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-05-07 15:04:49 +0200
committerYves Senn <yves.senn@gmail.com>2015-05-07 15:04:49 +0200
commitd27974d3fb38918d323dcce3ae439ef68b369b72 (patch)
tree0eefd110b7a48e0dce41fcb655d40e8ca7149319 /activesupport/lib/active_support/dependencies/autoload.rb
parent8639795c9911a06ba168064309e032875450faf6 (diff)
downloadrails-d27974d3fb38918d323dcce3ae439ef68b369b72.tar.gz
rails-d27974d3fb38918d323dcce3ae439ef68b369b72.tar.bz2
rails-d27974d3fb38918d323dcce3ae439ef68b369b72.zip
tests, extract helpers to modify global state.
Make sure that tests do not hardcode the default value. For example `test_instantiation_doesnt_try_to_require_corresponding_file` always restored the configuration to `true` regardless of what it's original value was. Extract a helper to make the global modification consistent across tests.
Diffstat (limited to 'activesupport/lib/active_support/dependencies/autoload.rb')
0 files changed, 0 insertions, 0 deletions