Sha256: cd08807a6c8e018d36fbdeccfd692f8048fb157f879191e9c8230ec2fcd07252

Contents?: true

Size: 932 Bytes

Versions: 24

Compression:

Stored size: 932 Bytes

Contents

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

require 'spec_helper'

RSpec.describe Slack::Web::Api::Endpoints::Usergroups do
  let(:client) { Slack::Web::Client.new }
  context 'usergroups_create' do
    it 'requires name' do
      expect { client.usergroups_create }.to raise_error ArgumentError, /Required arguments :name missing/
    end
  end
  context 'usergroups_disable' do
    it 'requires usergroup' do
      expect { client.usergroups_disable }.to raise_error ArgumentError, /Required arguments :usergroup missing/
    end
  end
  context 'usergroups_enable' do
    it 'requires usergroup' do
      expect { client.usergroups_enable }.to raise_error ArgumentError, /Required arguments :usergroup missing/
    end
  end
  context 'usergroups_update' do
    it 'requires usergroup' do
      expect { client.usergroups_update }.to raise_error ArgumentError, /Required arguments :usergroup missing/
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.4 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.14.3 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.14.2 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.14.1 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.14.0 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.13.1 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.13.0 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.12.0 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.11.1 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.11.0 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.10.0 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.9.1 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.9.0 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.8.1 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.8.0 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.9 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.8 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.7 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.6 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.5 spec/slack/web/api/endpoints/usergroups_spec.rb