aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/json
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-01-21 14:09:59 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-21 14:09:59 -0800
commit370bcd1a017816422db2fdb410366752d60d72c8 (patch)
tree546bf18cfcdc7aa6ec5b65c24718d150d534d9ed /activesupport/test/json
parent7642b7531d222c9d7a94add50fffca69458e0eef (diff)
downloadrails-370bcd1a017816422db2fdb410366752d60d72c8.tar.gz
rails-370bcd1a017816422db2fdb410366752d60d72c8.tar.bz2
rails-370bcd1a017816422db2fdb410366752d60d72c8.zip
use ! " " YAML string literal syntax rather than removing both quotes
Diffstat (limited to 'activesupport/test/json')
-rw-r--r--activesupport/test/json/decoding_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/test/json/decoding_test.rb b/activesupport/test/json/decoding_test.rb
index d2e3efaa6b..a0beb97537 100644
--- a/activesupport/test/json/decoding_test.rb
+++ b/activesupport/test/json/decoding_test.rb
@@ -57,9 +57,7 @@ class TestJSONDecoding < ActiveSupport::TestCase
ActiveSupport.parse_json_times = true
silence_warnings do
ActiveSupport::JSON.with_backend backend do
- assert_nothing_raised do
- assert_equal expected, ActiveSupport::JSON.decode(json)
- end
+ assert_equal expected, ActiveSupport::JSON.decode(json)
end
end
end