diff options
author | Guo Xiang Tan <tgx_world@hotmail.com> | 2014-06-05 12:31:35 -0700 |
---|---|---|
committer | Guo Xiang Tan <tgx_world@hotmail.com> | 2014-06-05 18:34:39 -0700 |
commit | f81bd7c67daca8e9970fb23d7c78224e1f5fa937 (patch) | |
tree | 3dc684d1da934e54ff1bcfbafa623437d9cfadfa /actionpack/lib | |
parent | aa54c91a151b47656320b511b30f546180202458 (diff) | |
download | rails-f81bd7c67daca8e9970fb23d7c78224e1f5fa937.tar.gz rails-f81bd7c67daca8e9970fb23d7c78224e1f5fa937.tar.bz2 rails-f81bd7c67daca8e9970fb23d7c78224e1f5fa937.zip |
Prevent state leak.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index e6695ffc90..c02366b8e1 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -593,7 +593,6 @@ module ActionController unless @controller.respond_to?(:recycle!) @controller.extend(Testing::Functional) - @controller.class.class_eval { include Testing } end @request.recycle! |