Sha256: 5539a9f0b91e1f569f9103e3253a0bf6d3db2a5081fea29706375b49b1fa8702
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
require "spec_helper" describe Lita::Handlers::ImgflipMemes, lita_handler: true do let(:robot) { Lita::Robot.new(registry) } subject { described_class.new(robot) } describe 'routes' do it { is_expected.to route("Lita aliens chat bots") } end describe ':make_meme' do it 'responds with an image URL' do send_message "Lita aliens chat bots" expect(replies.last).to match(/http/i) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lita-imgflip-memes-1.1.2 | examples/002_make_meme_test.rb |