Sha256: df8786c7310a7309146f8c1bbcb465345104df7cf26fbe7d52664784bfabeafc
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 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::AdminWorkflowsCollaborators do let(:client) { Slack::Web::Client.new } context 'admin.workflows.collaborators_add' do it 'requires collaborator_ids' do expect { client.admin_workflows_collaborators_add(workflow_ids: %q[]) }.to raise_error ArgumentError, /Required arguments :collaborator_ids missing/ end it 'requires workflow_ids' do expect { client.admin_workflows_collaborators_add(collaborator_ids: %q[]) }.to raise_error ArgumentError, /Required arguments :workflow_ids missing/ end end context 'admin.workflows.collaborators_remove' do it 'requires collaborator_ids' do expect { client.admin_workflows_collaborators_remove(workflow_ids: %q[]) }.to raise_error ArgumentError, /Required arguments :collaborator_ids missing/ end it 'requires workflow_ids' do expect { client.admin_workflows_collaborators_remove(collaborator_ids: %q[]) }.to raise_error ArgumentError, /Required arguments :workflow_ids missing/ end end end
Version data entries
3 entries across 3 versions & 1 rubygems