Sha256: f62818ac33485954844c2912551b3e7691d218bd960a854bfae99c3fd7d2e436

Contents?: true

Size: 808 Bytes

Versions: 8

Compression:

Stored size: 808 Bytes

Contents

# This file was auto-generated by lib/tasks/web.rake

require 'spec_helper'

RSpec.describe Slack::Web::Api::Endpoints::AppsPermissionsUsers do
  let(:client) { Slack::Web::Client.new }
  context 'apps.permissions.users_request' do
    it 'requires scopes' do
      expect { client.apps_permissions_users_request(trigger_id: ' ', user: ' ') }.to raise_error ArgumentError, /Required arguments :scopes missing/
    end
    it 'requires trigger_id' do
      expect { client.apps_permissions_users_request(scopes: ' ', user: ' ') }.to raise_error ArgumentError, /Required arguments :trigger_id missing/
    end
    it 'requires user' do
      expect { client.apps_permissions_users_request(scopes: ' ', trigger_id: ' ') }.to raise_error ArgumentError, /Required arguments :user missing/
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.4 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb
slack-ruby-client-0.14.3 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb
slack-ruby-client-0.14.2 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb
slack-ruby-client-0.14.1 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb
slack-ruby-client-0.14.0 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb
slack-ruby-client-0.13.1 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb
slack-ruby-client-0.13.0 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb
slack-ruby-client-0.12.0 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb