diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-01-07 17:51:11 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-01-07 17:51:11 +0000 |
commit | 17da45b789e0a2581eae6e6b2b1ae8d2b98e0f5d (patch) | |
tree | 7c98524e11bf17bcf29a838c0ad9db2d972bf3ee /activesupport/test | |
parent | 2f923133248eb3a11671f47695bb9c5f36ee6aef (diff) | |
download | rails-17da45b789e0a2581eae6e6b2b1ae8d2b98e0f5d.tar.gz rails-17da45b789e0a2581eae6e6b2b1ae8d2b98e0f5d.tar.bz2 rails-17da45b789e0a2581eae6e6b2b1ae8d2b98e0f5d.zip |
Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonathan del Strother]
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/json/decoding_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/test/json/decoding_test.rb b/activesupport/test/json/decoding_test.rb index 19ae3a01a8..558b03b90d 100644 --- a/activesupport/test/json/decoding_test.rb +++ b/activesupport/test/json/decoding_test.rb @@ -15,7 +15,8 @@ class TestJSONDecoding < Test::Unit::TestCase # no time zone %({a: "2007-01-01 01:12:34"}) => {'a' => "2007-01-01 01:12:34"}, # needs to be *exact* - %({a: " 2007-01-01 01:12:34 Z "}) => {'a' => " 2007-01-01 01:12:34 Z "}, + %({a: " 2007-01-01 01:12:34 Z "}) => {'a' => " 2007-01-01 01:12:34 Z "}, + %({a: "2007-01-01 : it's your birthday"}) => {'a' => "2007-01-01 : it's your birthday"}, %([]) => [], %({}) => {}, %(1) => 1, |