X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-config.js;h=70ae891918f4e440381ae71bcfd71d0d751c00be;hb=6a49d9b12dead08c0cc734afedb5975a6c58faaf;hp=19eff66af00f647649237b1de09e0cefe5f4a939;hpb=bdbb6dd624c54c68832c370f41601f2f882dd479;p=mkws-moved-to-github.git diff --git a/test/spec/mkws-config.js b/test/spec/mkws-config.js index 19eff66..70ae891 100644 --- a/test/spec/mkws-config.js +++ b/test/spec/mkws-config.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2013 IndexData ApS. http://indexdata.com +/* Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com * * check mkws_config = {} object in browser * @@ -33,22 +33,10 @@ describe("Check pazpar2 config", function () { it("pazpar2path is a path or an full URL", function () { expect(mkws_config.pazpar2_url).toMatch(/^(\/|https?:\/\/)/) }); - - it("Check usesessions true/false", function () { - if (mkws_config.use_service_proxy) { - expect(mkws.usesessions).toBe(false); - } else { - expect(mkws.usesessions).toBe(true); - } - }); - - it("my_paz is defined", function () { - expect(mkws.my_paz).not.toBe(undefined); - }); }); describe("Check pazpar2 runtime", function () { - it("pazpar2 was successfully initialize", function () { + it("pazpar2 was successfully initialized", function () { expect(mkws_config.error).toBe(undefined); }); });