Sha256: 223dbd1fa11d08f62844e13f48fa3069332bd62348369fd521004aa0fd62b9ac

Contents?: true

Size: 575 Bytes

Versions: 12

Compression:

Stored size: 575 Bytes

Contents

# 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

12 entries across 12 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.4 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.14.3 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.14.2 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.14.1 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.14.0 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.13.1 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.13.0 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.12.0 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.11.1 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.11.0 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.10.0 spec/slack/web/api/endpoints/apps_permissions_spec.rb
slack-ruby-client-0.9.1 spec/slack/web/api/endpoints/apps_permissions_spec.rb