summaryrefslogtreecommitdiff
path: root/tests/test_json_rails.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_json_rails.rb')
-rwxr-xr-xtests/test_json_rails.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_json_rails.rb b/tests/test_json_rails.rb
index 341d332..d33402d 100755
--- a/tests/test_json_rails.rb
+++ b/tests/test_json_rails.rb
@@ -141,6 +141,6 @@ EOT
end
def test_symbol
- assert_equal '"foo"', JSON(:foo) # we don't want an object here
+ assert_equal '"foo"', :foo.to_json # we don't want an object here
end
end