Sha256: d6033eb73cbf345caa7f7478643df74f9d875902018907123298f6c136aa0272

Contents?: true

Size: 498 Bytes

Versions: 14

Compression:

Stored size: 498 Bytes

Contents

Feature: Polymorphic Collections

  Background:
    Given an empty Person document collection
    And a Person document named 'Fry' :
      | Name          |
      | Philip J. Fry |
    And a VIP document named 'Leela' :
      | Name          | Title   |
      | Turanga Leela | Captain |

  Scenario: Subclassed documents are in the same collection
    Given I save the document 'Fry'
    And I save the document 'Leela'
    When I query people with count
    Then the query result is 2 documents

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mongo_doc-0.6.26 features/polymorphic_collections.feature
mongo_doc-0.6.25 features/polymorphic_collections.feature
mongo_doc-0.6.23 features/polymorphic_collections.feature
mongo_doc-0.6.22 features/polymorphic_collections.feature
mongo_doc-0.6.21 features/polymorphic_collections.feature
mongo_doc-0.6.20 features/polymorphic_collections.feature
mongo_doc-0.6.19 features/polymorphic_collections.feature
mongo_doc-0.6.18 features/polymorphic_collections.feature
mongo_doc-0.6.17 features/polymorphic_collections.feature
mongo_doc-0.6.16 features/polymorphic_collections.feature
mongo_doc-0.6.15 features/polymorphic_collections.feature
mongo_doc-0.6.14 features/polymorphic_collections.feature
mongo_doc-0.6.13 features/polymorphic_collections.feature
mongo_doc-0.6.12 features/polymorphic_collections.feature