Sha256: 8ffadabadfb0d1a1cc0cc06b6a9bef3d5135c7832f77c85eb82b0bb289092d78
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
# This file was auto-generated by lib/tasks/web.rake require 'spec_helper' RSpec.describe Slack::Web::Api::Endpoints::Usergroups do let(:client) { Slack::Web::Client.new } context 'usergroups_create' do it 'requires name' do expect { client.usergroups_create }.to raise_error ArgumentError, /Required arguments :name missing/ end end context 'usergroups_disable' do it 'requires usergroup' do expect { client.usergroups_disable }.to raise_error ArgumentError, /Required arguments :usergroup missing/ end end context 'usergroups_enable' do it 'requires usergroup' do expect { client.usergroups_enable }.to raise_error ArgumentError, /Required arguments :usergroup missing/ end end context 'usergroups_update' do it 'requires usergroup' do expect { client.usergroups_update }.to raise_error ArgumentError, /Required arguments :usergroup missing/ end end context 'usergroups_users' do it 'requires usergroup' do expect { client.usergroups_users(users: 'U060R4BJ4,U060RNRCZ') }.to raise_error ArgumentError, /Required arguments :usergroup missing/ end it 'requires users' do expect { client.usergroups_users(usergroup: 'S0604QSJC') }.to raise_error ArgumentError, /Required arguments :users missing/ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.7.0 | spec/slack/web/api/endpoints/usergroups_spec.rb |
slack-ruby-client-0.6.0 | spec/slack/web/api/endpoints/usergroups_spec.rb |