mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Fix typo
This commit is contained in:
parent
642fd306be
commit
3bc074ae1f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue