Sha256: e89ec69f814ad5a3b8dee93e437551797ef8ad73bb379cabad63479281f1903c

Contents?: true

Size: 605 Bytes

Versions: 2

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: %q[]) }.to raise_error ArgumentError, /Required arguments :scopes missing/
    end
    it 'requires trigger_id' do
      expect { client.apps_permissions_request(scopes: %q[]) }.to raise_error ArgumentError, /Required arguments :trigger_id missing/
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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