Sha256: 79a45ab352d82ae997a55b5f8c640f0cb9d00a897b0046ba1ec4e3d7a59626b3
Contents?: true
Size: 464 Bytes
Versions: 6
Compression:
Stored size: 464 Bytes
Contents
require "spec_helper" describe AdaptivePayments::GetPaymentOptionsRequest do it_behaves_like "a RequestEnvelope" subject { AdaptivePayments::GetPaymentOptionsRequest } its(:operation) { should == :GetPaymentOptions } let(:request) { AdaptivePayments::GetPaymentOptionsRequest.new(:pay_key => "ABCD-1234") } let(:json) { JSON.parse(request.to_json) } it "maps #pay_key to ['payKey']" do json["payKey"].should == "ABCD-1234" end end
Version data entries
6 entries across 6 versions & 1 rubygems