Remove commands array from Adaptor base class

This commit is contained in:
Andrew Stewart 2014-09-29 15:41:13 -07:00
parent 6a0a17eca3
commit 75c8d47676
3 changed files with 0 additions and 7 deletions

View File

@ -27,5 +27,3 @@ var Adaptor = module.exports = function Adaptor(opts) {
}; };
Utils.subclass(Adaptor, Basestar); Utils.subclass(Adaptor, Basestar);
Adaptor.prototype.commands = [];

View File

@ -15,7 +15,6 @@ var Loopback;
module.exports = Loopback = function Loopback() { module.exports = Loopback = function Loopback() {
Loopback.__super__.constructor.apply(this, arguments); Loopback.__super__.constructor.apply(this, arguments);
this.commands = ['ping'];
}; };
Utils.subclass(Loopback, Adaptor); Utils.subclass(Loopback, Adaptor);

View File

@ -18,9 +18,5 @@ describe("Adaptor", function() {
it("sets @connection to the provided connection", function() { it("sets @connection to the provided connection", function() {
expect(adaptor.connection).to.be.eql(connection); expect(adaptor.connection).to.be.eql(connection);
}); });
it("sets @commands to an empty array by default", function() {
expect(adaptor.commands).to.be.eql([]);
});
}); });
}); });