Sha256: 29465108a74b0b89dcb60ce490efd5c8b8745346b89a142564a9426c6597b996
Contents?: true
Size: 914 Bytes
Versions: 4
Compression:
Stored size: 914 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(timestamp: '1234567890.123456') }.to raise_error ArgumentError, /Required arguments :channel missing/ end it 'requires timestamp' do expect { client.pins_add(channel: 'C1234567890') }.to raise_error ArgumentError, /Required arguments :timestamp 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
4 entries across 4 versions & 1 rubygems