Inserting documents to collection

Inserting documents to collection

  Documents are inserted to collection via either insert or save commands. 
  Description of these commands of mongodb can be found in documentation 
  here [http://docs.mongodb.org/manual/reference/method/db.collection.save/] 
  and  here [http://docs.mongodb.org/manual/reference/method/db.collection.insert/]
 insert(document)
  `insert(document).ensure(WriteConcern.NORMAL)`

  `save(document)`
 save(document).ensure(WriteConcern.NORMAL)
  There is a possibility to recover from insertion or update failures:
 insert(document).toChannelResult attempt()

Total for specification InsertAndSaveSpec
Finished in4 seconds, 672 ms
Results3 examples, 0 failure, 0 error