Sha256: e4e5b0bdda59a75fe808f87cb5680479cb6848cad6984bec0ea1753f6f1b4d46
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
require "spec_helper" describe AdaptivePayments::GetPaymentOptionsRequest do it_behaves_like "a RequestEnvelope" subject { AdaptivePayments::GetPaymentOptionsRequest } describe '#operation' do subject { super().operation } it { is_expected.to eq(:GetPaymentOptions) } end let(:request) { AdaptivePayments::GetPaymentOptionsRequest.new(:pay_key => "ABCD-1234") } let(:json) { JSON.parse(request.to_json) } it "maps #pay_key to ['payKey']" do expect(json["payKey"]).to eq("ABCD-1234") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
creative-pp-adaptive-1.1.1 | spec/public/get_payment_options_request_spec.rb |