aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorErich Menge <erich.menge@me.com>2012-05-30 12:18:29 -0500
committerErich Menge <erich.menge@me.com>2012-05-30 14:39:00 -0500
commit1f5dddcf2fb05f460c13f2ea32c81033ca6b14de (patch)
treeabffb19f16f4b336e6df92557012a82b7b94e439 /activesupport/test
parent0406a13fac7f809cb511e45583259e66d8739b4f (diff)
downloadrails-1f5dddcf2fb05f460c13f2ea32c81033ca6b14de.tar.gz
rails-1f5dddcf2fb05f460c13f2ea32c81033ca6b14de.tar.bz2
rails-1f5dddcf2fb05f460c13f2ea32c81033ca6b14de.zip
Remove deprecated ActiveSupport::JSON::Variable.
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/json/encoding_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/test/json/encoding_test.rb b/activesupport/test/json/encoding_test.rb
index 212ee262a3..a947635f4a 100644
--- a/activesupport/test/json/encoding_test.rb
+++ b/activesupport/test/json/encoding_test.rb
@@ -54,8 +54,6 @@ class TestJSONEncoding < ActiveSupport::TestCase
HashlikeTests = [[ Hashlike.new, %({\"a\":1}) ]]
CustomTests = [[ Custom.new, '"custom"' ]]
- VariableTests = [[ ActiveSupport::JSON::Variable.new('foo'), 'foo'],
- [ ActiveSupport::JSON::Variable.new('alert("foo")'), 'alert("foo")']]
RegexpTests = [[ /^a/, '"(?-mix:^a)"' ], [/^\w{1,2}[a-z]+/ix, '"(?ix-m:^\\\\w{1,2}[a-z]+)"']]
DateTests = [[ Date.new(2005,2,1), %("2005/02/01") ]]