Sha256: 847abda00ea6acb804b23976deefd1e1c838bee2335472f9456f5a3d1368fa5b
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
require 'spec_helper' module SpreeSignifyd describe RequestVerifier do include RequestVerifier describe "#build_sha" do it "returns an HMAC SHA256 encoded message" do expect(build_sha('ABCDE', 'test')).to eq "K0y2rIeTA77lBEHP8cRPk64fVRbhMrZqEk7la39EjEM=" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_signifyd-1.1.0 | spec/lib/spree_signifyd/request_verifier_spec.rb |
solidus_signifyd-1.0.1 | spec/lib/spree_signifyd/request_verifier_spec.rb |