Sha256: fa41600dda6ee71c95b92d9339e810c95b19cd67fa4117a17d79330a2514e3cf

Contents?: true

Size: 594 Bytes

Versions: 9

Compression:

Stored size: 594 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::AdminTeams do
  let(:client) { Slack::Web::Client.new }
  context 'admin.teams_create' do
    it 'requires team_domain' do
      expect { client.admin_teams_create(team_name: %q[]) }.to raise_error ArgumentError, /Required arguments :team_domain missing/
    end
    it 'requires team_name' do
      expect { client.admin_teams_create(team_domain: %q[]) }.to raise_error ArgumentError, /Required arguments :team_name missing/
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/admin_teams_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/admin_teams_spec.rb