Use dot notation for tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
f6be3b1ae3
commit
aca4ebce70
|
@ -419,8 +419,8 @@ describe("Robot", function() {
|
||||||
it("defines a named connection on robot for each connection", function() {
|
it("defines a named connection on robot for each connection", function() {
|
||||||
bot.startConnections();
|
bot.startConnections();
|
||||||
|
|
||||||
expect(bot["alpha"]).to.be.an.instanceOf(Adaptor);
|
expect(bot.alpha).to.be.an.instanceOf(Adaptor);
|
||||||
expect(bot["bravo"]).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() {
|
it("defines a named device on robot for each device", function() {
|
||||||
bot.startDevices();
|
bot.startDevices();
|
||||||
|
|
||||||
expect(bot["alpha"]).to.be.an.instanceOf(Driver);
|
expect(bot.alpha).to.be.an.instanceOf(Driver);
|
||||||
expect(bot["bravo"]).to.be.an.instanceOf(Driver);
|
expect(bot.bravo).to.be.an.instanceOf(Driver);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue