Sha256: 883335589ab665317b80274a728632ac952f1eac02692a0a4783d9bcca7a4107

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.15.1 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.15.0 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.14.6 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb