From 3bc074ae1fd2f17e5aaf0f1f1bea513eee84a81c Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 22 Nov 2020 16:22:12 +0100 Subject: [PATCH] Fix typo --- test/test_execjs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_execjs.rb b/test/test_execjs.rb index 99d8f0a..a860049 100644 --- a/test/test_execjs.rb +++ b/test/test_execjs.rb @@ -156,7 +156,7 @@ class TestExecJS < Test assert_output value, ExecJS.eval("#{json_value}") end - define_method("test_strinigfy_value_#{index}") do + define_method("test_stringify_value_#{index}") do context = ExecJS.compile("function json(obj) { return JSON.stringify(obj); }") assert_output json_value, context.call("json", value) end