Sha256: fb54b1ac77ad01b5afe96d9e75a2d3339ed84ce5ec65a19ba321f013037034e1
Contents?: true
Size: 469 Bytes
Versions: 3
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' RSpec.describe Slack::Web::Api::Errors::SlackError 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 fail 'Expected to receive Slack::Web::Api::Errors::SlackError.' rescue Slack::Web::Api::Errors::SlackError => e expect(e.response).to_not be_nil expect(e.response.status).to eq 200 end end end
Version data entries
3 entries across 3 versions & 1 rubygems