Sha256: 44686a5338a5d0c6d2391fe272897f7ef2ff4c6412a9e96c08b5fe7fdf5ad3c1

Contents?: true

Size: 981 Bytes

Versions: 31

Compression:

Stored size: 981 Bytes

Contents

Feature: Indexes

  Background:
    Given an empty Contact document collection
    And a Contact document named 'hashrocket' :
      | Name       | Type    |
      | Hashrocket | company |
    And 'hashrocket' has interests, an array of:
      | Interest      |
      | ruby          |
      | rails         |
      | employment    |
      | contract work |
      | restaurants   |
      | hotels        |
      | flights       |
      | car rentals   |
    And 'hashrocket' has many addresses :
      | Street                 | City               | State | Zip Code |
      | 320 First Street North | Jacksonville Beach | FL    | 32250    |
      | 1 Lake Michigan Street | Chicago            | IL    | 60611    |
      | 1 Main Street          | Santiago           | Chile |          |
    And I save the document 'hashrocket'

  Scenario: Simple index
    When I create an index named name on the Contact collection
    Then there is an index on name on the Contact collection

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
mongo_doc-0.6.26 features/indexes.feature
mongo_doc-0.6.25 features/indexes.feature
mongo_doc-0.6.23 features/indexes.feature
mongo_doc-0.6.22 features/indexes.feature
mongo_doc-0.6.21 features/indexes.feature
mongo_doc-0.6.20 features/indexes.feature
mongo_doc-0.6.19 features/indexes.feature
mongo_doc-0.6.18 features/indexes.feature
mongo_doc-0.6.17 features/indexes.feature
mongo_doc-0.6.16 features/indexes.feature
mongo_doc-0.6.15 features/indexes.feature
mongo_doc-0.6.14 features/indexes.feature
mongo_doc-0.6.13 features/indexes.feature
mongo_doc-0.6.12 features/indexes.feature
mongo_doc-0.6.11 features/indexes.feature
mongo_doc-0.6.10 features/indexes.feature
mongo_doc-0.6.9 features/indexes.feature
mongo_doc-0.6.8 features/indexes.feature
mongo_doc-0.6.7 features/indexes.feature
mongo_doc-0.6.6 features/indexes.feature