Sha256: c818d58e908ed64e2a9875ea4a55f05fb31f7f609f5926b8667f61d731798780
Contents?: true
Size: 439 Bytes
Versions: 13
Compression:
Stored size: 439 Bytes
Contents
require 'spec_helper' describe SparkApi::Authentication::OAuth2Impl::GrantTypeBase do subject { SparkApi::Authentication::OAuth2Impl::GrantTypeBase } # Make sure the client boostraps the right plugin based on configuration. it "create should " do expect {subject.create(nil, InvalidAuth2Provider.new())}.to raise_error(SparkApi::ClientError){ |e| expect(e.message).to eq("Unsupported grant type [not_a_real_type]") } end end
Version data entries
13 entries across 13 versions & 1 rubygems