features/using_criteria.feature in mongodoc-0.1.2 vs features/using_criteria.feature in mongodoc-0.2.0
- old
+ new
@@ -114,11 +114,11 @@
Scenario: Selecting contacts with in operator
When I query contacts with in "{'interests' => ['ruby', 'rails', 'employment']}"
Then the query result has 3 documents
Scenario: Selecting a contact with the id operator
- When I query contacts with 'hashrocket' id
+ When I query contacts with the 'hashrocket' id
Then the query result has 1 documents
And the first query result is equal to the document 'hashrocket'
Scenario: Finding the last result
When I query contacts with every "{'interests' => ['ruby', 'rails', 'employment']}"
@@ -141,5 +141,9 @@
Scenario: Using skip on results
When I query contacts with every "{'interests' => ['ruby', 'rails']}"
And I set the query on contacts to skip 1
Then the size of the query result is 2
+
+ Scenario: All
+ When I query contacts with 'all'
+ Then the size of the query result is 3