Clean up spec
This commit is contained in:
parent
31dfd4b6c9
commit
bcd9cb84ec
|
@ -94,13 +94,15 @@ describe("Cylon", function() {
|
||||||
expectedConfig.ssl.cert = "/path/to/cert/file";
|
expectedConfig.ssl.cert = "/path/to/cert/file";
|
||||||
expectedConfig.ssl.key = "/path/to/key/file";
|
expectedConfig.ssl.key = "/path/to/key/file";
|
||||||
|
|
||||||
cylon.api({ ssl: {
|
cylon.api({
|
||||||
cert: "/path/to/cert/file",
|
ssl: {
|
||||||
key: "/path/to/key/file" }
|
cert: "/path/to/cert/file",
|
||||||
|
key: "/path/to/key/file"
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(cylon.api_config).to.be.eql(expectedConfig);
|
expect(cylon.api_config).to.be.eql(expectedConfig);
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
context("specifying an auth strategy", function() {
|
context("specifying an auth strategy", function() {
|
||||||
|
|
Loading…
Reference in New Issue