Sha256: 3fead48892af04c0b8b578651a4fb672a1815a6347cf020c34825a10b445f0d4
Contents?: true
Size: 727 Bytes
Versions: 1
Compression:
Stored size: 727 Bytes
Contents
describe Moneta::Api::Requests::FindOperationsListRequest, vcr: true do let(:service) { Moneta::Api::Service.new($username, $password) } describe 'find_operations_list' do let(:request) do described_class.new.tap do |request| request.filter = Moneta::Api::Types::FindOperationsListRequestFilter.new.tap do |r| r.date_from = '2015-01-01T00:00:00+03:00' r.date_to = '2015-04-13T00:00:00+03:00' end request.pager = Moneta::Api::Types::Pager.new.tap do |r| r.page_number = 1 r.page_size = 1 end end end subject { service.find_operations_list(request) } its(:account_id) { pending; is_expected.to be_a_moneta_id } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moneta-api-1.0.0 | spec/lib/moneta/api/requests/find_operations_list_request_spec.rb |