Sha256: b0778072c68735fada5c4d71d87eaf75dd718f55132e2fd324f1cddc5cee6ed3

Contents?: true

Size: 687 Bytes

Versions: 30

Compression:

Stored size: 687 Bytes

Contents

describe Moneta::Api::Requests::FindOperationsListRequest, vcr: true do
  include_context 'moneta'

  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

30 entries across 30 versions & 1 rubygems

Version Path
moneta-api-1.5.0 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.4.0 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.3.0 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.2.1 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.2.0 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.1.0 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.0.4 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.0.3 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.0.2 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb
moneta-api-1.0.1 spec/lib/moneta/api/requests/find_operations_list_request_spec.rb