Sha256: 122fa0d4d1632a4deda4ff12112f7d030b0afe9ea3b1a88a2fe43a78ec581b50
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
require "spec_helper" describe AdaptivePayments::PreapprovalResponse do it_behaves_like "a ResponseEnvelope" it_behaves_like "a FaultMessage" let(:response) do AdaptivePayments::PreapprovalResponse.from_json('{"preapprovalKey":"SOME-KEY"}') end it "maps ['preapprovalKey'] to #preapproval_key" do expect(response.preapproval_key).to eq("SOME-KEY") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
creative-pp-adaptive-1.1.1 | spec/public/preapproval_response_spec.rb |