Sha256: 3143fc2fdcf60e73800a928b879f51b340172be6bcf5e630e0bc1239d9f3a078

Contents?: true

Size: 694 Bytes

Versions: 8

Compression:

Stored size: 694 Bytes

Contents

Feature: DBReferences

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

  Scenario: Automatically dereferences in db_references association
    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

8 entries across 8 versions & 1 rubygems

Version Path
mongo_doc-0.6.26 features/db_references.feature
mongo_doc-0.6.25 features/db_references.feature
mongo_doc-0.6.23 features/db_references.feature
mongo_doc-0.6.22 features/db_references.feature
mongo_doc-0.6.21 features/db_references.feature
mongo_doc-0.6.20 features/db_references.feature
mongo_doc-0.6.19 features/db_references.feature
mongo_doc-0.6.18 features/db_references.feature