Sha256: 1b57822a9f880dd2e7814f6bf65ec77460634aad959dd143de3e53619b12f882

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 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::CallsParticipants do
  let(:client) { Slack::Web::Client.new }
  context 'calls.participants_add' do
    it 'requires id' do
      expect { client.calls_participants_add(users: %q[]) }.to raise_error ArgumentError, /Required arguments :id missing/
    end
    it 'requires users' do
      expect { client.calls_participants_add(id: %q[]) }.to raise_error ArgumentError, /Required arguments :users missing/
    end
  end
  context 'calls.participants_remove' do
    it 'requires id' do
      expect { client.calls_participants_remove(users: %q[]) }.to raise_error ArgumentError, /Required arguments :id missing/
    end
    it 'requires users' do
      expect { client.calls_participants_remove(id: %q[]) }.to raise_error ArgumentError, /Required arguments :users missing/
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/calls_participants_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/calls_participants_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/calls_participants_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/calls_participants_spec.rb