Sha256: db9aa6478bac98fe51b730a68876d0a30882964499bf26ff4497554af8645239
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
require 'spec_helper' describe Lita::Handlers::OnewheelOdotTripcheckWebHack, lita_handler: true do before(:each) do end it { is_expected.to route_command('tripcheck blue') } it { is_expected.to route_command('tripcheck') } it 'will respond to tripcheck' do send_command 'tripcheck govy' expect(replies.last).to include('https://tripcheck.com/RoadCams/cams/US26%20at%20Govn%20Camp%20Maint_pid1899.JPG') end it 'will list tripchecks' do send_command 'tripcheck' expect(replies.last).to eq('Cameras available include: Hood River, 26 at 35, 26 at Snow Bunny, 26 at Govy, 26 at Govy Loop Rd, 26 at Frog Lake, 26 at Blue Box Pass') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lita-onewheel-odot-tripcheck-web-hack-0.0.5 | spec/lita/handlers/onewheel_odot_tripcheck_web_hack_spec.rb |