Sha256: 7fa25ffafa578701035490f5bf267424949b1a2b3e9d8419185fb251d2427040

Contents?: true

Size: 838 Bytes

Versions: 2

Compression:

Stored size: 838 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::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: %q[], user: %q[]) }.to raise_error ArgumentError, /Required arguments :scopes missing/
    end
    it 'requires trigger_id' do
      expect { client.apps_permissions_users_request(scopes: %q[], user: %q[]) }.to raise_error ArgumentError, /Required arguments :trigger_id missing/
    end
    it 'requires user' do
      expect { client.apps_permissions_users_request(scopes: %q[], trigger_id: %q[]) }.to raise_error ArgumentError, /Required arguments :user 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_users_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/apps_permissions_users_spec.rb