Sha256: 2502888cd509d40b12d039f41e179194689a53d95b0823c8d43b799ba79ebac5

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 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::Calls do
  let(:client) { Slack::Web::Client.new }
  context 'calls_add' do
    it 'requires external_unique_id' do
      expect { client.calls_add(join_url: %q[]) }.to raise_error ArgumentError, /Required arguments :external_unique_id missing/
    end
    it 'requires join_url' do
      expect { client.calls_add(external_unique_id: %q[]) }.to raise_error ArgumentError, /Required arguments :join_url missing/
    end
  end
  context 'calls_end' do
    it 'requires id' do
      expect { client.calls_end }.to raise_error ArgumentError, /Required arguments :id missing/
    end
  end
  context 'calls_info' do
    it 'requires id' do
      expect { client.calls_info }.to raise_error ArgumentError, /Required arguments :id missing/
    end
  end
  context 'calls_update' do
    it 'requires id' do
      expect { client.calls_update }.to raise_error ArgumentError, /Required arguments :id 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_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/calls_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/calls_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/calls_spec.rb