Sha256: 9e5cf052e24cb006a1c7afa72ebe5516637aa14b91f8ba6e9e4342368f2353b3

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

require "spec_helper"

describe Lita::Handlers::Excuses, lita_handler: true do
  it { routes_command("excuse").to(:excuse) }

  it "tests an excuse" do
    send_command("excuse")
    expect(replies.last).to_not eq("Sorry, I was unable to come up with a good excuse for you.")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lita-excuses-0.0.6 spec/lita/handlers/excuses_spec.rb
lita-excuses-0.0.5 spec/lita/handlers/excuses_spec.rb
lita-excuses-0.0.3 spec/lita/handlers/excuses_spec.rb