From: Mike Taylor Date: Mon, 3 Nov 2014 15:12:11 +0000 (+0000) Subject: Change "termlist" messages emitted from test-suite to "facet". X-Git-Tag: 1.0.0~90 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=b7a2c442ded7d187d06b5fa54e3ad2c85a23fbef;p=mkws-moved-to-github.git Change "termlist" messages emitted from test-suite to "facet". --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 29ce177..28e0019 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -227,12 +227,12 @@ describe("Check pazpar2 hit counter", function () { }); }); -describe("Check Termlist", function () { +describe("Check Facets", function () { var $ = mkws.$; - it("found Termlist", function () { + it("found Facets", function () { var termlist = $("div.mkws-facets"); - debug("Termlist success: " + termlist.length); + debug("Facet success: " + termlist.length); expect(termlist.length).toBe(1); waitsFor(function () { @@ -242,7 +242,7 @@ describe("Check Termlist", function () { // everything displayed? runs(function () { var sources = $("div.mkws-facet[data-mkws-facet='xtargets']"); - debug("Termlist sources success: " + sources.length); + debug("Facet sources success: " + sources.length); expect(sources.length).toBe(1); var subjects = $("div.mkws-facet[data-mkws-facet='subject']");