Commit 5b38400b authored by Björn Bartels's avatar Björn Bartels

PATLAB-7 update adapter tests

parent c0df5d20
Pipeline #77 passed with stage
in 3 minutes and 15 seconds
......@@ -41,10 +41,10 @@ describe('Patternlibrary instanciation and configuration:', function() {
});
it('throws an error if you try to pass something other than a function as an adapter', function() {
var s = new Patternlibrary.Patternlibrary();
var p = new Patternlibrary.Patternlibrary();
expect(function() {
p.adapter('docs', 'kittens');
p.adapter('cats', 'kittens');
}).to.throw(Error);
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment