From 7276fc63be79a5769acb28b54d248c87591c1825 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Wed, 21 Dec 2011 15:39:50 +0530 Subject: 'with_kcode' removed. Testing Sandbox removed. --- actionpack/test/lib/testing_sandbox.rb | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 actionpack/test/lib/testing_sandbox.rb (limited to 'actionpack/test/lib') diff --git a/actionpack/test/lib/testing_sandbox.rb b/actionpack/test/lib/testing_sandbox.rb deleted file mode 100644 index c36585104f..0000000000 --- a/actionpack/test/lib/testing_sandbox.rb +++ /dev/null @@ -1,15 +0,0 @@ -module TestingSandbox - # Temporarily replaces KCODE for the block - def with_kcode(kcode) - if RUBY_VERSION < '1.9' - old_kcode, $KCODE = $KCODE, kcode - begin - yield - ensure - $KCODE = old_kcode - end - else - yield - end - end -end -- cgit v1.2.3