Sha256: 84d0b344f64d4ea4a2c2ed65de0f5f5f65dd31fe15e702197c24270e1c9ca37f
Contents?: true
Size: 402 Bytes
Versions: 4
Compression:
Stored size: 402 Bytes
Contents
require 'spec_helper' RSpec.describe Slack::Web::Api::Endpoints::Users do let(:client) { Slack::Web::Client.new } context 'users' do it 'list', vcr: { cassette_name: 'web/users_list' } do json = client.users_list(presence: true) expect(json['ok']).to be true expect(json['members'].size).to eq 9 expect(json['members'].first['presence']).to eq 'away' end end end
Version data entries
4 entries across 4 versions & 1 rubygems