Sha256: 42e372bafeecafcded847dd3ec1ef21f659b93e2216320d4de6e2c6430bc6bc0

Contents?: true

Size: 1.09 KB

Versions: 26

Compression:

Stored size: 1.09 KB

Contents

data:
    - {_id: 1, x: 11}
    - {_id: 2, x: 22}
    - {_id: 3, x: 33}
    - {_id: 4, x: 44}
    - {_id: 5, x: 55}

tests:
    -
        description: "Find with filter"
        operation:
            name: "find"
            arguments:
                filter: {_id: 1}

        outcome:
            result:
                - {_id: 1, x: 11}

    - 
        description: "Find with filter, sort, skip, and limit"
        operation: 
            name: "find"
            arguments:
                filter: 
                    _id: {$gt: 2}
                sort: {_id: 1}
                skip: 2
                limit: 2

        outcome:
            result:
                - {_id: 5, x: 55}
    -
        description: "Find with limit, sort, and batchsize"
        operation: 
            name: "find"
            arguments:
                filter: {}
                sort: {_id: 1}
                limit: 4
                batchSize: 2

        outcome:
            result:
                - {_id: 1, x: 11}
                - {_id: 2, x: 22}
                - {_id: 3, x: 33}
                - {_id: 4, x: 44}
  

Version data entries

26 entries across 25 versions & 3 rubygems

Version Path
mongo-2.3.1 spec/support/crud_tests/read/find.yml
mongo-2.3.0 spec/support/crud_tests/read/find.yml
mongo-2.2.7 spec/support/crud_tests/read/find.yml
mongo-2.2.6 spec/support/crud_tests/read/find.yml
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mongo-2.2.5/spec/support/crud_tests/read/find.yml
mongo-2.2.5 spec/support/crud_tests/read/find.yml
mongo-2.2.4 spec/support/crud_tests/read/find.yml
mongo-2.2.3 spec/support/crud_tests/read/find.yml
mongo-2.2.2 spec/support/crud_tests/read/find.yml
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/mongo-2.2.1/spec/support/crud_tests/read/find.yml
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/mongo-2.2.1/spec/support/crud_tests/read/find.yml
mongo-2.2.1 spec/support/crud_tests/read/find.yml
mongo-2.2.0 spec/support/crud_tests/read/find.yml
mongo-2.2.0.rc0 spec/support/crud_tests/read/find.yml
mongo-2.1.2 spec/support/crud_tests/read/find.yml
mongo-2.1.1 spec/support/crud_tests/read/find.yml
mongo-2.1.0 spec/support/crud_tests/read/find.yml
mongo-2.1.0.rc0 spec/support/crud_tests/read/find.yml
mongo-2.1.0.beta spec/support/crud_tests/read/find.yml
mongo-2.0.6 spec/support/crud_tests/read/find.yml