Sha256: 410e0f781c72c39db1bfa0dd996708eda0cf46c3d17baa6c90341b86c208beb9
Contents?: true
Size: 422 Bytes
Versions: 3
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe Slack::Web::Api::Endpoints::Channels do let(:client) { Slack::Web::Client.new } context 'channels' do it 'raises deprecation error', vcr: { cassette_name: 'web/channels_info' } do expect { client.channels_info(channel: '#general') } .to raise_error(Slack::Web::Api::Errors::MethodDeprecated, 'method_deprecated') end end end
Version data entries
3 entries across 3 versions & 1 rubygems