Sha256: 75c0c30d3e08ee978ba02eb2fcec30607a1361dafa89fd945dafcafbb2a92540

Contents?: true

Size: 719 Bytes

Versions: 26

Compression:

Stored size: 719 Bytes

Contents

data:
    - {_id: 1, x: 11}
    - {_id: 2, x: 22}
    - {_id: 3, x: 33}

tests:
    -
        description: "Count without a filter"
        operation:
            name: count
            arguments:
                filter: { }

        outcome:
            result: 3
    -
        description: "Count with a filter"
        operation:
            name: count
            arguments:
                filter: 
                    _id: {$gt: 1}

        outcome:
            result: 2
    -
        description: "Count with skip and limit"
        operation:
            name: count
            arguments:
                filter: {}
                skip: 1
                limit: 3

        outcome:
            result: 2
  

Version data entries

26 entries across 25 versions & 3 rubygems

Version Path
mongo-2.3.1 spec/support/crud_tests/read/count.yml
mongo-2.3.0 spec/support/crud_tests/read/count.yml
mongo-2.2.7 spec/support/crud_tests/read/count.yml
mongo-2.2.6 spec/support/crud_tests/read/count.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/count.yml
mongo-2.2.5 spec/support/crud_tests/read/count.yml
mongo-2.2.4 spec/support/crud_tests/read/count.yml
mongo-2.2.3 spec/support/crud_tests/read/count.yml
mongo-2.2.2 spec/support/crud_tests/read/count.yml
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/mongo-2.2.1/spec/support/crud_tests/read/count.yml
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/mongo-2.2.1/spec/support/crud_tests/read/count.yml
mongo-2.2.1 spec/support/crud_tests/read/count.yml
mongo-2.2.0 spec/support/crud_tests/read/count.yml
mongo-2.2.0.rc0 spec/support/crud_tests/read/count.yml
mongo-2.1.2 spec/support/crud_tests/read/count.yml
mongo-2.1.1 spec/support/crud_tests/read/count.yml
mongo-2.1.0 spec/support/crud_tests/read/count.yml
mongo-2.1.0.rc0 spec/support/crud_tests/read/count.yml
mongo-2.1.0.beta spec/support/crud_tests/read/count.yml
mongo-2.0.6 spec/support/crud_tests/read/count.yml