Sha256: c02cf6d35e9e0dd9167be5f197b89b9b6668cf0e0bd63b8fee1a47b31c06cb5d
Contents?: true
Size: 446 Bytes
Versions: 39
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' RSpec.describe Slack::RealTime::Client, vcr: { cassette_name: 'web/rtm_start' } do include_context 'connected client' describe '#typing' do before do allow(client).to receive(:next_id).and_return(42) end it 'sends a typing indicator' do expect(socket).to receive(:send_data).with({ type: 'typing', id: 42, channel: 'channel' }.to_json) client.typing(channel: 'channel') end end end
Version data entries
39 entries across 39 versions & 2 rubygems