Use dot notation for tests

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2016-03-27 18:38:07 -07:00
parent f6be3b1ae3
commit aca4ebce70
1 changed files with 4 additions and 4 deletions

View File

@ -419,8 +419,8 @@ describe("Robot", function() {
it("defines a named connection on robot for each connection", function() {
bot.startConnections();
expect(bot["alpha"]).to.be.an.instanceOf(Adaptor);
expect(bot["bravo"]).to.be.an.instanceOf(Adaptor);
expect(bot.alpha).to.be.an.instanceOf(Adaptor);
expect(bot.bravo).to.be.an.instanceOf(Adaptor);
});
});
@ -472,8 +472,8 @@ describe("Robot", function() {
it("defines a named device on robot for each device", function() {
bot.startDevices();
expect(bot["alpha"]).to.be.an.instanceOf(Driver);
expect(bot["bravo"]).to.be.an.instanceOf(Driver);
expect(bot.alpha).to.be.an.instanceOf(Driver);
expect(bot.bravo).to.be.an.instanceOf(Driver);
});
});