Sha256: 549ec963214cfd8c5b21daa2dcab698c5b257ad52672cb1b91bc5513e130a5c7
Contents?: true
Size: 472 Bytes
Versions: 9
Compression:
Stored size: 472 Bytes
Contents
require './spec/spec_helper' require './spec/oauth2_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
9 entries across 9 versions & 1 rubygems