Sha256: b7d7aafb842dfc7599f842f971ae477845cbeabb1b94c5fd1aac341027fe6eaa

Contents?: true

Size: 637 Bytes

Versions: 5

Compression:

Stored size: 637 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: %q[f25b5ceaf8a3c2a2c4f52bb4f0b0499e]) }.to raise_error ArgumentError, /Required arguments :client_id missing/
    end
    it 'requires client_secret' do
      expect { client.apps_uninstall(client_id: %q[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-2.4.0 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/apps_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/apps_spec.rb