Sha256: 8096251c539156e08cc93cd9241a8d272a3863ff42a0eb416ebca84663992d95
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
require "spec_helper" describe Lita::Response do subject { described_class.new(message) } let(:message) { double("Lita::Message").as_null_object } [:args, :reply, :user, :command?].each do |method| it "delegates :#{method} to #message" do expect(message).to receive(method) subject.public_send(method) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lita-2.3.0 | spec/lita/response_spec.rb |