Sha256: 2b79edb6b3859dbe10690c55ee3ddc36efba96c3c92ba2a2755d50fb981edcc5
Contents?: true
Size: 431 Bytes
Versions: 10
Compression:
Stored size: 431 Bytes
Contents
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 Slack::Web::Api::Error => e expect(e.response).to_not be_nil expect(e.response.status).to eq 200 end end end
Version data entries
10 entries across 10 versions & 1 rubygems