Sha256: d1bf0890ca852992ee10454ce33a972c6827a0c8e81fa3c83e8903f8f658fbdc
Contents?: true
Size: 478 Bytes
Versions: 8
Compression:
Stored size: 478 Bytes
Contents
require './spec/spec_helper' require './spec/oauth2_helper' describe FlexmlsApi::Authentication::OAuth2Impl::GrantTypeBase do subject { FlexmlsApi::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(FlexmlsApi::ClientError){ |e| e.message.should == "Unsupported grant type [not_a_real_type]" } end end
Version data entries
8 entries across 8 versions & 2 rubygems