Sha256: 93fb6ba72107a7e3dff61187395355c2222ea235544c14ec305c5075aa6c8728

Contents?: true

Size: 716 Bytes

Versions: 9

Compression:

Stored size: 716 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::Pins do
  let(:client) { Slack::Web::Client.new }
  context 'pins_add' do
    it 'requires channel' do
      expect { client.pins_add }.to raise_error ArgumentError, /Required arguments :channel missing/
    end
  end
  context 'pins_list' do
    it 'requires channel' do
      expect { client.pins_list }.to raise_error ArgumentError, /Required arguments :channel missing/
    end
  end
  context 'pins_remove' do
    it 'requires channel' do
      expect { client.pins_remove }.to raise_error ArgumentError, /Required arguments :channel 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/pins_spec.rb
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/pins_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/pins_spec.rb
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/pins_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/pins_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/pins_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/pins_spec.rb
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/pins_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/pins_spec.rb