Sha256: 13d97983353ecb7c04a417547a484816a3b8ef3083046de56454b5cea34772fa

Contents?: true

Size: 560 Bytes

Versions: 4

Compression:

Stored size: 560 Bytes

Contents

Feature: References

  Background:
    Given an empty Person document collection
    And a Person document named 'Fry' :
      | Name          |
      | Philip J. Fry |
    And an empty Address document collection
    And an Address document named 'office' :
      | City              |
      | New New York City |

  Scenario: Automatically dereferenced
    When I save the document 'office'
    And 'Fry' references 'office' as 'address'
    And I save the document 'Fry'
    And the document 'Fry' is reloaded
    Then 'Fry' refers to 'office' as 'address'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mongo_doc-0.6.9 features/references.feature
mongo_doc-0.6.8 features/references.feature
mongo_doc-0.6.7 features/references.feature
mongo_doc-0.6.6 features/references.feature