hubot-aws-v2
Version:
Hubot script to manage your AWS environment in a visually appealing and functional way.
21 lines (15 loc) • 433 B
text/coffeescript
Helper = require('hubot-test-helper')
chai = require 'chai'
expect = chai.expect
helper = new Helper('../src/')
describe 'aws-v2', ->
beforeEach ->
= helper.createRoom()
afterEach ->
.destroy()
it 'responds to ec2 ls', ->
.user.say('alice', '@hubot ec2 ls').then =>
expect(.messages).to.eql [
['alice', '@hubot ec2 ls']
['hubot', 'Fetching all instances...']
]