Sha256: 870f177bc4ccbf7a3101fa7489de0ea35672c671c877a63243248b7d1beff4b1
Contents?: true
Size: 1.53 KB
Versions: 2
Compression:
Stored size: 1.53 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake require 'spec_helper' RSpec.describe Slack::Web::Api::Endpoints::AdminConversationsWhitelist do let(:client) { Slack::Web::Client.new } context 'admin.conversations.whitelist_add' do it 'requires channel_id' do expect { client.admin_conversations_whitelist_add(group_id: '') }.to raise_error ArgumentError, /Required arguments :channel_id missing/ end it 'requires group_id' do expect { client.admin_conversations_whitelist_add(channel_id: '') }.to raise_error ArgumentError, /Required arguments :group_id missing/ end end context 'admin.conversations.whitelist_listGroupsLinkedToChannel' do it 'requires channel_id' do expect { client.admin_conversations_whitelist_listGroupsLinkedToChannel }.to raise_error ArgumentError, /Required arguments :channel_id missing/ end end context 'admin.conversations.whitelist_remove' do it 'requires channel_id' do expect { client.admin_conversations_whitelist_remove(group_id: '', team_id: '') }.to raise_error ArgumentError, /Required arguments :channel_id missing/ end it 'requires group_id' do expect { client.admin_conversations_whitelist_remove(channel_id: '', team_id: '') }.to raise_error ArgumentError, /Required arguments :group_id missing/ end it 'requires team_id' do expect { client.admin_conversations_whitelist_remove(channel_id: '', group_id: '') }.to raise_error ArgumentError, /Required arguments :team_id missing/ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.15.1 | spec/slack/web/api/endpoints/admin_conversations_whitelist_spec.rb |
slack-ruby-client-0.15.0 | spec/slack/web/api/endpoints/admin_conversations_whitelist_spec.rb |