Sha256: 918b29226b11457f0fddb25c9dc9b918978d468ab22c57631e9d57644ab01daf
Contents?: true
Size: 434 Bytes
Versions: 52
Compression:
Stored size: 434 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| e.message.should == "Unsupported grant type [not_a_real_type]" } end end
Version data entries
52 entries across 52 versions & 1 rubygems