features/saving_an_object.feature in mongodoc-0.1.1 vs features/saving_an_object.feature in mongodoc-0.1.2
- old
+ new
@@ -1,17 +1,15 @@
Feature: saving an object
Scenario: saving simple json
- Given a valid connection to the 'test' database
- And a new collection named 'test'
+ Given a new collection named 'test'
When I save the json '{"name":"name"}'
Then the collection should have 1 document
And the json '{"name":"name"}' roundtrips
-
+
Scenario: saving a ruby object
- Given a valid connection to the 'test' database
- And a new collection named 'test'
+ Given a new collection named 'test'
And an object 'movie'
When I save the object 'movie'
Then the collection should have 1 document
And the object 'movie' roundtrips
-
\ No newline at end of file
+