Sha256: f4bb63a1a3ca31398707b411a55f0205930a2941712d62fd7d4ee567b80eec71

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 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::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

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-0.15.1 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.15.0 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.14.6 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/apps_spec.rb