Sha256: e2ad2be2e1267e5752e7a74974293a91c4eed8c462d5b85e6118af55b991c3b6

Contents?: true

Size: 603 Bytes

Versions: 5

Compression:

Stored size: 603 Bytes

Contents

# This file was auto-generated by lib/tasks/web.rake

require 'spec_helper'

RSpec.describe Slack::Web::Api::Endpoints::Apps do
  let(:client) { Slack::Web::Client.new }
  context 'apps_uninstall' do
    it 'requires client_id' do
      expect { client.apps_uninstall(client_secret: 'f25b5ceaf8a3c2a2c4f52bb4f0b0499e') }.to raise_error ArgumentError, /Required arguments :client_id missing/
    end
    it 'requires client_secret' do
      expect { client.apps_uninstall(client_id: '56579136444.26251006572') }.to raise_error ArgumentError, /Required arguments :client_secret missing/
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.4 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.14.3 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.14.2 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.14.1 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.14.0 spec/slack/web/api/endpoints/apps_spec.rb