Sha256: c2892bcbdd6c4cef472f00f3dbd532f63ffcaa05558441dd7145695678a8f3b3
Contents?: true
Size: 403 Bytes
Versions: 30
Compression:
Stored size: 403 Bytes
Contents
require 'spec_helper' describe Rack::OAuth2::AccessToken::MAC::BodyHash do # From the example of MAC spec section 3.2 # ref) http://tools.ietf.org/pdf/draft-ietf-oauth-v2-http-mac-00.pdf subject do Rack::OAuth2::AccessToken::MAC::BodyHash.new( :algorithm => 'hmac-sha-1', :raw_body => 'hello=world%21' ) end its(:calculate) { should == 'k9kbtCIy0CkI3/FEfpS/oIDjk6k=' } end
Version data entries
30 entries across 30 versions & 1 rubygems