aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/lib
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2011-12-21 15:39:50 +0530
committerArun Agrawal <arunagw@gmail.com>2011-12-21 15:39:50 +0530
commit7276fc63be79a5769acb28b54d248c87591c1825 (patch)
tree06bf4f972cc4148ce33164f4a27cc3203bb52052 /actionpack/test/lib
parentde78c7e8e4a28425f2047eb8c708f396819d6ff0 (diff)
downloadrails-7276fc63be79a5769acb28b54d248c87591c1825.tar.gz
rails-7276fc63be79a5769acb28b54d248c87591c1825.tar.bz2
rails-7276fc63be79a5769acb28b54d248c87591c1825.zip
'with_kcode' removed.
Testing Sandbox removed.
Diffstat (limited to 'actionpack/test/lib')
-rw-r--r--actionpack/test/lib/testing_sandbox.rb15
1 files changed, 0 insertions, 15 deletions
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