Correct missing command in loopback test adaptor
This commit is contained in:
parent
f2cf92644b
commit
69a476dfbf
|
@ -35,6 +35,10 @@
|
|||
return Logger.info("Disconnecting from adaptor '" + this.name + "'...");
|
||||
};
|
||||
|
||||
Loopback.prototype.commands = function() {
|
||||
return ['ping'];
|
||||
};
|
||||
|
||||
return Loopback;
|
||||
|
||||
})();
|
||||
|
|
|
@ -7,6 +7,10 @@ bots = [
|
|||
]
|
||||
|
||||
class ChattyRobot
|
||||
connection:
|
||||
name: 'loopback'
|
||||
adaptor: 'loopback'
|
||||
|
||||
work: (me) ->
|
||||
every 1.seconds(), ->
|
||||
Logger.info me.name
|
||||
|
|
|
@ -23,3 +23,6 @@ class Loopback
|
|||
|
||||
disconnect: ->
|
||||
Logger.info "Disconnecting from adaptor '#{@name}'..."
|
||||
|
||||
commands: ->
|
||||
['ping']
|
||||
|
|
Loading…
Reference in New Issue