Sha256: ca92184c51ef03b118ae90d38020c274cccb54acb05f8809248a9929ca5b335c

Contents?: true

Size: 586 Bytes

Versions: 13

Compression:

Stored size: 586 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::UsersAdmin do
  let(:client) { Slack::Web::Client.new }
  context 'users.admin_invite' do
    it 'requires email' do
      expect { client.users_admin_invite }.to raise_error ArgumentError, /Required arguments :email missing/
    end
  end
  context 'users.admin_setInactive' do
    it 'requires user' do
      expect { client.users_admin_setInactive }.to raise_error ArgumentError, /Required arguments :user missing/
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-0.15.1 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-0.15.0 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-0.14.6 spec/slack/web/api/endpoints/users_admin_spec.rb
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/users_admin_spec.rb