From b9b45faeb5041858a2bfd4b597ff927312f95c03 Mon Sep 17 00:00:00 2001 From: Pat Cavit Date: Tue, 10 Jan 2017 14:36:16 -0800 Subject: [PATCH] Fix example Fixes #1530 --- docs/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing.md b/docs/testing.md index e42696af..52ef79e9 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -21,7 +21,7 @@ To setup a test suite, create a `tests` folder and inside of it, create a test f // file: tests/math-test.js var o = require("mithril/ospec/ospec") -o("math", function() { +o.spec("math", function() { o("addition works", function() { o(1 + 2).equals(3) })