Sha256: ab864fdab36a02b781e415a254d61aa9f55a9639e0b674da647c32cd90cf851d
Contents?: true
Size: 374 Bytes
Versions: 6
Compression:
Stored size: 374 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 response.preapproval_key.should == "SOME-KEY" end end
Version data entries
6 entries across 6 versions & 1 rubygems