Sha256: 11906635389aa59d29bab3e5bc25e908998dc34f22605d52fb74ab6ca3119c38

Contents?: true

Size: 419 Bytes

Versions: 7

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

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

  context 'groups' do
    it 'info', vcr: { cassette_name: 'web/conversations_info' } do
      json = client.conversations_info(channel: '#mpdm-dblock--rubybot--player1-1')
      expect(json.channel.name).to eq 'mpdm-dblock--rubybot--player1-1'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb