Sha256: 8755abdb9b3965261252bba4b57934e4f7c5922ba9484af4205bc4af3c2dd518

Contents?: true

Size: 365 Bytes

Versions: 26

Compression:

Stored size: 365 Bytes

Contents

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

26 entries across 26 versions & 1 rubygems

Version Path
slack-ruby-client-0.7.4 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.7.3 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.7.2 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.7.1 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.7.0 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb
slack-ruby-client-0.6.0 spec/slack/web/api/endpoints/custom_specs/groups_spec.rb