Sha256: 0bb1c224e6205a5a9941331629558170ecba8224f394e5c2f0a2dd8c335d513c
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 Bytes
Contents
require "spec_helper" describe Lita::Handlers::stock, lita_handler: true do it { routes_command("action octo").to(:stock_info) } it { doesnt_route_command("action").to(:stock_info) } it "checks general action octo" do send_command "action octo" expect(replies.last).to include("ALOCT") expect(replies.last).to include("Octo Technology") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lita-octo-0.0.1 | spec/lita/handlers/stock_spec.rb |