aboutsummaryrefslogtreecommitdiffstats
path: root/test/json/test_json_rails.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/test_json_rails.rb')
-rw-r--r--test/json/test_json_rails.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/test_json_rails.rb b/test/json/test_json_rails.rb
index c0447ddaba..52dc29f388 100644
--- a/test/json/test_json_rails.rb
+++ b/test/json/test_json_rails.rb
@@ -85,7 +85,7 @@ class TC_JSONRails < Test::Unit::TestCase
c = C.new # with rails addition all objects are theoretically creatable
assert C.json_creatable?
json = generate(c)
- assert_raises(ArgumentError) { JSON.parse(json) }
+ assert_raise(ArgumentError) { JSON.parse(json) }
end
def test_raw_strings