aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-04-22 09:10:14 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-04-22 09:10:48 -0700
commit42a06d2d6253eed3b9f4fb4edfa251c9508a2e20 (patch)
treeb842a72ac3cdd144375fb140686fff71cd69befe /activesupport/test
parentca49299434bc764b667cd86846d892e91a150ef3 (diff)
downloadrails-42a06d2d6253eed3b9f4fb4edfa251c9508a2e20.tar.gz
rails-42a06d2d6253eed3b9f4fb4edfa251c9508a2e20.tar.bz2
rails-42a06d2d6253eed3b9f4fb4edfa251c9508a2e20.zip
stdlib autoloads were hanging on 1.9.1
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/json/decoding_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/json/decoding_test.rb b/activesupport/test/json/decoding_test.rb
index 8fe40557d6..7d8a07654d 100644
--- a/activesupport/test/json/decoding_test.rb
+++ b/activesupport/test/json/decoding_test.rb
@@ -1,7 +1,7 @@
# encoding: UTF-8
require 'abstract_unit'
-class TestJSONDecoding < Test::Unit::TestCase
+class TestJSONDecoding < ActiveSupport::TestCase
TESTS = {
%q({"returnTo":{"\/categories":"\/"}}) => {"returnTo" => {"/categories" => "/"}},
%q({returnTo:{"\/categories":"\/"}}) => {"returnTo" => {"/categories" => "/"}},
@@ -36,7 +36,7 @@ class TestJSONDecoding < Test::Unit::TestCase
}
TESTS.each do |json, expected|
- define_method :"test_json_decoding_#{json}" do
+ test "json decodes #{json}" do
assert_nothing_raised do
assert_equal expected, ActiveSupport::JSON.decode(json)
end