Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
authorHeikki Levanto <heikki@indexdata.dk>
Mon, 10 Mar 2014 11:52:56 +0000 (12:52 +0100)
committerHeikki Levanto <heikki@indexdata.dk>
Mon, 10 Mar 2014 11:52:56 +0000 (12:52 +0100)
test/Makefile
test/spec/mkws-pazpar2.js

index 812b258..7e77b0b 100644 (file)
@@ -63,5 +63,5 @@ help:
        @echo "     [ phantomjs | screenshot ]"
        @echo "     [ jsbeautifier | node-modules ]"
        @echo ""
-       @echo "DEBUG=1 make phantomjs PHANTOMJS_TIMEOUT=8 PHANTOM_URL=https://mkws-dev.indexdata.com/jasmine-popup.html"
+       @echo "DEBUG=1 make phantomjs PHANTOMJS_TIMEOUT=8 PHANTOMJS_URL=https://mkws-dev.indexdata.com/jasmine-popup.html"
 
index 452b8e8..0486f55 100644 (file)
@@ -368,8 +368,7 @@ describe("Show record", function () {
 
         var urls = $("div.mkwsRecords div.record:nth-child(" + record_number + ") div table tbody tr td a");
         debug("number of extracted URL from record: " + urls.length);
-        expect(urls.length).toBeGreaterThan(0);
-
+        // expect(urls.length).toBeGreaterThan(0); // LoC has records without links
         for (var i = 0; i < urls.length; i++) {
             var url = $(urls[i]);
             debug("URL: " + url.attr('href') + " text: " + url.text());