Sha256: a89c4363422e9e6c158ee2c9ae7cbb06709adfb7cb9854702fecf9e9976060a8
Contents?: true
Size: 455 Bytes
Versions: 6
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe Slack::Web::Api::Error do let(:client) { Slack::Web::Client.new } it 'provides access to the response object', vcr: { cassette_name: 'web/auth_test_error' } do begin client.auth_test raise 'Expected to receive Slack::Web::Api::Error.' rescue described_class => e expect(e.response).not_to be_nil expect(e.response.status).to eq 200 end end end
Version data entries
6 entries across 6 versions & 1 rubygems