summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/static/itemSpec.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/static/itemSpec.js b/test/static/itemSpec.js
index 95ae2a8..ee89193 100644
--- a/test/static/itemSpec.js
+++ b/test/static/itemSpec.js
@@ -47,4 +47,12 @@ describe("Awesomplete.ITEM", function () {
expect(this.element.innerHTML).toBe("JavaScript");
});
});
+
+ describe("with space input", function () {
+ def("input", " ");
+
+ it("does not mark anything", function () {
+ expect(this.element.innerHTML).toBe("JavaScript");
+ });
+ });
});