blob: 4339ff21eae082e147abbf8e9e9d73aa0cd59cb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
describe("Awesomplete.REPLACE", function () {
subject(function () { return Awesomplete.REPLACE });
def("instance", function() { return { input: { value: "initial" } } });
it("replaces input value", function () {
this.subject.call(this.instance, "JavaScript");
expect(this.instance.input.value).toBe("JavaScript");
});
});
|