Sha256: 3b08e3878a2c50c4c4045c73fbc37eb7e207d579159c3de07a2b010994c9f712
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true 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 described_class => e expect(e.response).not_to be_nil expect(e.response.status).to eq 200 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.14.5 | spec/slack/web/api/errors/slack_error_spec.rb |