Sha256: 2060c09cb52abfedaa4f446ff9dabb0613093b409ad8df1f15c4770de5b44e78

Contents?: true

Size: 375 Bytes

Versions: 6

Compression:

Stored size: 375 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::Dnd do
  let(:client) { Slack::Web::Client.new }
  context 'dnd_teamInfo' do
    it 'requires users' do
      expect { client.dnd_teamInfo }.to raise_error ArgumentError, /Required arguments :users missing/
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/dnd_spec.rb