Sha256: e46d6e0dd246eaea4aad95e348255b0f7d24949982893600a06b3fc26279da6c

Contents?: true

Size: 788 Bytes

Versions: 24

Compression:

Stored size: 788 Bytes

Contents

# 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: 'U060R4BJ4,U060RNRCZ') }.to raise_error ArgumentError, /Required arguments :usergroup missing/
    end
    it 'requires users' do
      expect { client.usergroups_users_update(usergroup: 'S0604QSJC') }.to raise_error ArgumentError, /Required arguments :users missing/
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.4 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.14.3 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.14.2 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.14.1 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.14.0 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.13.1 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.13.0 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.12.0 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.11.1 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.11.0 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.10.0 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.9.1 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.9.0 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.8.1 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.8.0 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.7.9 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.7.8 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.7.7 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.7.6 spec/slack/web/api/endpoints/usergroups_users_spec.rb
slack-ruby-client-0.7.5 spec/slack/web/api/endpoints/usergroups_users_spec.rb