Sha256: 0eebbf325b7def1fd8554ba0a352aa99b12b53d5c537f749f3e197454ca52075
Contents?: true
Size: 629 Bytes
Versions: 2
Compression:
Stored size: 629 Bytes
Contents
require "spec_helper" require "rspec/expectations" require "rspec/mocks" describe Lita::Handlers::Whoami, lita_handler: true do it "will assign a person a descriptior." do send_command("taylor is a bad programmer") expect(replies).to_not be_empty expect(replies.last).to eq "Okay, taylor is a bad programmer!" end it "Can tell you what people are." do send_command("taylor is a bad programmer") expect(replies).to_not be_empty expect(replies.last).to eq "Okay, taylor is a bad programmer!" send_command("who is taylor") expect(replies.last).to eq "taylor is a bad programmer" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lita-whoami-0.1.1 | spec/lita/handlers/whoami_spec.rb |
lita-whoami-0.1.0 | spec/lita/handlers/whoami_spec.rb |