Sha256: a5eafe9256d568404798101360066e344391cd73ab8a251bdc2cafa1ed4a8709

Contents?: true

Size: 561 Bytes

Versions: 7

Compression:

Stored size: 561 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_setSnooze' do
    it 'requires num_minutes' do
      expect { client.dnd_setSnooze }.to raise_error ArgumentError, /Required arguments :num_minutes missing/
    end
  end
  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

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-0.15.1 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-0.15.0 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-0.14.6 spec/slack/web/api/endpoints/dnd_spec.rb
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/dnd_spec.rb