Sha256: e0dfe51d0ef37e4c8aba61cf0d3b84a52c57fab76b7e886a18bfc5ccc210285a

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 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::AppsPermissions do
  let(:client) { Slack::Web::Client.new }
  context 'apps.permissions_request' do
    it 'requires scopes' do
      expect { client.apps_permissions_request(trigger_id: ' ') }.to raise_error ArgumentError, /Required arguments :scopes missing/
    end
    it 'requires trigger_id' do
      expect { client.apps_permissions_request(scopes: ' ') }.to raise_error ArgumentError, /Required arguments :trigger_id missing/
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/apps_permissions_spec.rb