Sha256: 2d2c29e2431b21c3a1a1b4b4d026ed6e0c2281c5bae75904c28b72989d965acc
Contents?: true
Size: 794 Bytes
Versions: 4
Compression:
Stored size: 794 Bytes
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake require 'spec_helper' RSpec.describe Slack::Web::Api::Endpoints::UsergroupsUsers do let(:client) { Slack::Web::Client.new } context 'usergroups.users_list' do it 'requires usergroup' do expect { client.usergroups_users_list }.to raise_error ArgumentError, /Required arguments :usergroup missing/ end end context 'usergroups.users_update' do it 'requires usergroup' do expect { client.usergroups_users_update(users: %q[]) }.to raise_error ArgumentError, /Required arguments :usergroup missing/ end it 'requires users' do expect { client.usergroups_users_update(usergroup: %q[]) }.to raise_error ArgumentError, /Required arguments :users missing/ end end end
Version data entries
4 entries across 4 versions & 1 rubygems