Sha256: 78ea78bd26099d3fffa344b7c40738b42aeb65e6a51eb57b83756df0c38afec8
Contents?: true
Size: 470 Bytes
Versions: 10
Compression:
Stored size: 470 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 raise '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
10 entries across 10 versions & 1 rubygems