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.7.4 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.3 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.2 spec/slack/web/api/endpoints/usergroups_spec.rb
slack-ruby-client-0.7.1 spec/slack/web/api/endpoints/usergroups_spec.rb