Clean up spec

This commit is contained in:
Andrew Stewart 2014-04-24 10:55:16 -06:00
parent 31dfd4b6c9
commit bcd9cb84ec
1 changed files with 6 additions and 4 deletions

View File

@ -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() {