Sha256: e07a640a86232c834e3546699926b82f2c173d7751c716439a9dff757466fb0a

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

RSpec.describe TwilioBase::Chat::Channel do
  include_context :global_config

  describe '.find' do
    it 'finds a chat channel by sid' do
      channel = TwilioBase::Fake::Chat::Channel.new.create({})

      expect(described_class.find(channel.sid)).to eq channel
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twilio_base-1.11.1101 spec/services/twilio_base/chat/channel_spec.rb
twilio_base-1.11.11 spec/services/twilio_base/chat/channel_spec.rb
twilio_base-1.9.0 spec/services/twilio_base/chat/channel_spec.rb