Sha256: f20a7bcb6571d3cc25bb9c1794e3aa3bd805f9075d236db8d60f8d4c002169a6
Contents?: true
Size: 430 Bytes
Versions: 23
Compression:
Stored size: 430 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 fail '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
23 entries across 23 versions & 2 rubygems