Sha256: 9e3e173856fd88100418f52a15c9dbdafaf276a3bfcfae68ea6d3bc9a03dc8d5

Contents?: true

Size: 828 Bytes

Versions: 1

Compression:

Stored size: 828 Bytes

Contents

require 'spec_helper'

describe Lita::Handlers::AlertlogicThreatManager, lita_handler: true do
  it do
    is_expected.to route_command('alertlogic tm appliances 123456').to(:tm_appliance_list)
    is_expected.to route_command('alertlogic tm applianceinfo 123456 12345678-9ABC-DEF1-2345-6789ABCDEF12').to(:tm_appliance_info)
    is_expected.to route_command('alertlogic tm policies 123456').to(:tm_policies_list)
    is_expected.to route_command('alertlogic tm hosts 123456').to(:tm_hosts_list)
    is_expected.to route_command('alertlogic protectedhosts status 123456').to(:protectedhosts_status)
    is_expected.to route_command('alertlogic protectedhosts list 123456').to(:protectedhosts_list)
    is_expected.to route_command('alertlogic protectedhosts search 123456 phostname-or-uuid').to(:protectedhosts_search)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lita-alertlogic-0.0.1 spec/lita/handlers/alertlogic_threat_manager_spec.rb