Sha256: a5641299a171737947834b8f1c39b9738852b9595970f131861870fe60f0d4fb
Contents?: true
Size: 648 Bytes
Versions: 3
Compression:
Stored size: 648 Bytes
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake require 'spec_helper' RSpec.describe Slack::Web::Api::Endpoints::OauthV2 do let(:client) { Slack::Web::Client.new } context 'oauth.v2_exchange' do it 'requires client_id' do expect { client.oauth_v2_exchange(client_secret: %q[e1b9e11dfcd19c1982d5de12921e17e8c]) }.to raise_error ArgumentError, /Required arguments :client_id missing/ end it 'requires client_secret' do expect { client.oauth_v2_exchange(client_id: %q[4123121235.9872358710]) }.to raise_error ArgumentError, /Required arguments :client_secret missing/ end end end
Version data entries
3 entries across 3 versions & 1 rubygems