Sha256: 982ba0a0c93b14f13b9024c0abb3c87e9a31c6b4f66b8dd6d72851542ff1d5de

Contents?: true

Size: 383 Bytes

Versions: 6

Compression:

Stored size: 383 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_access' do
    it 'requires code' do
      expect { client.oauth_v2_access }.to raise_error ArgumentError, /Required arguments :code missing/
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/oauth_v2_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/oauth_v2_spec.rb
slack-ruby-client-0.15.1 spec/slack/web/api/endpoints/oauth_v2_spec.rb
slack-ruby-client-0.15.0 spec/slack/web/api/endpoints/oauth_v2_spec.rb
slack-ruby-client-0.14.6 spec/slack/web/api/endpoints/oauth_v2_spec.rb
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/oauth_v2_spec.rb