Revision 3e5ee0a6
Added by Dominic Cleal about 10 years ago
test/test_helper.rb | ||
---|---|---|
# This code will be run each time you run your specs.
|
||
class ActionController::TestCase
|
||
setup :setup_set_script_name, :set_api_user, :reset_setting_cache
|
||
teardown :reset_setting_cache
|
||
|
||
def reset_setting_cache
|
||
Setting.cache.clear
|
Also available in: Unified diff
fixes #5246 - remove second host/class lookup impl so config groups are included in ENC output
(cherry picked from commit 46b3d8f1f5dff70b961266232f0041beabea8e0d)