Sha256: 6541b4608a28e4cf4ef359ec13f7ccbe9014f8897b2f9ec0fdd76098019e0884

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

RSpec.describe Slack::Web::Api::Endpoints::Channels do
  let(:client) { Slack::Web::Client.new }

  context 'channels' do
    it 'info', vcr: { cassette_name: 'web/channels_info' } do
      json = client.channels_info(channel: '#general')
      expect(json.channel.name).to eq 'general'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.6 spec/slack/web/api/endpoints/custom_specs/channels_spec.rb
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/custom_specs/channels_spec.rb