spec/lib/moneta/api/requests/transfer_request_spec.rb in moneta-api-1.0.0 vs spec/lib/moneta/api/requests/transfer_request_spec.rb in moneta-api-1.0.1

- old
+ new

@@ -1,15 +1,11 @@ describe Moneta::Api::Requests::TransferRequest, vcr: true do - let(:service) { Moneta::Api::Service.new($username, $password) } + include_context 'moneta' describe 'transfer' 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' + fill_base_settings.(request) end end subject { service.transfer(request) }