Making tests green
This commit is contained in:
parent
40b3db1dce
commit
e5400341d0
|
@ -12,10 +12,7 @@ describe("API", function() {
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
stub(https, 'createServer').returns({ listen: spy() });
|
stub(https, 'createServer').returns({ listen: spy() });
|
||||||
|
|
||||||
opts = {
|
opts = { master: { name: 'master' } }
|
||||||
master: { name: 'master' },
|
|
||||||
ssl: true
|
|
||||||
}
|
|
||||||
|
|
||||||
api = new API(opts);
|
api = new API(opts);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue