summaryrefslogtreecommitdiff
path: root/test/json/test_json_fixtures.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/test_json_fixtures.rb')
-rw-r--r--test/json/test_json_fixtures.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/test_json_fixtures.rb b/test/json/test_json_fixtures.rb
index 584dffdfdb..c861439573 100644
--- a/test/json/test_json_fixtures.rb
+++ b/test/json/test_json_fixtures.rb
@@ -26,7 +26,7 @@ class TestJSONFixtures < Test::Unit::TestCase
def test_failing
for name, source in @failed
- assert_raises(JSON::ParserError, JSON::NestingError,
+ assert_raise(JSON::ParserError, JSON::NestingError,
"Did not fail for fixture '#{name}': #{source.inspect}") do
JSON.parse(source)
end