Sha256: 6cf93a9ce1566e851d895bf96119b5b7662f1fbcff01d0152e3b07267be52540
Contents?: true
Size: 937 Bytes
Versions: 4
Compression:
Stored size: 937 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::Reactions do let(:client) { Slack::Web::Client.new } context 'reactions_add' do it 'requires channel' do expect { client.reactions_add(name: %q[], timestamp: %q[]) }.to raise_error ArgumentError, /Required arguments :channel missing/ end it 'requires name' do expect { client.reactions_add(channel: %q[], timestamp: %q[]) }.to raise_error ArgumentError, /Required arguments :name missing/ end it 'requires timestamp' do expect { client.reactions_add(channel: %q[], name: %q[]) }.to raise_error ArgumentError, /Required arguments :timestamp missing/ end end context 'reactions_remove' do it 'requires name' do expect { client.reactions_remove }.to raise_error ArgumentError, /Required arguments :name missing/ end end end
Version data entries
4 entries across 4 versions & 1 rubygems