Sha256: fc885f080e08d91d1e56516aa565619eeb26e9307d5f8c014dbd1af873c0ad39
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
describe Moneta::Api::Requests::ForecastTransactionRequest, vcr: true do let(:service) { Moneta::Api::Service.new($username, $password) } describe 'forecast_transaction' do let(:request) do described_class.new.tap do |request| request.amount = 10 request.payee = 28988504 request.payer = 10999 request.is_payer_amount = false request.payment_password = '12345' end end subject { service.forecast_transaction(request) } its(:payer_currency) { is_expected.to eq 'RUB' } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moneta-api-1.0.0 | spec/lib/moneta/api/requests/forecast_transaction_request_spec.rb |