describe("Awesomplete.$.create", function () { $.fixture("options"); subject(function () { return Awesomplete.$.create(this.tag, this.options || {}) }); def("tag", "div"); it("creates DOM element", function () { expect(this.subject instanceof HTMLElement).toBe(true); }); describe("with various tag names", function () { it("creates