Sha256: 560c78aff3c3d2940102d9dd800a0ccd0f0a2313dbba6d9282f02bb351247c03

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

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

3 entries across 3 versions & 2 rubygems

Version Path
slack-ruby-client-bhe-0.5.5 spec/slack/web/api/endpoints/channels_spec.rb
slack-ruby-client-bhe-0.5.4 spec/slack/web/api/endpoints/channels_spec.rb
slack-ruby-client-0.5.4 spec/slack/web/api/endpoints/channels_spec.rb