Sha256: 04dff5db6ac2208276cea47ba0bd27cdf5da4d4496f236d8be28bd2c66aed6ac

Contents?: true

Size: 556 Bytes

Versions: 10

Compression:

Stored size: 556 Bytes

Contents

# 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

10 entries across 10 versions & 1 rubygems

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