Commit graph

24 commits

Author SHA1 Message Date
Victor Denisov
571fe47d82 Test for non multi update 2017-05-29 16:34:35 -07:00
Victor Denisov
9bd0dff6ee Add unit test for upserted 2017-05-29 16:11:25 -07:00
Victor Denisov
a1e19379f6 Add test and fix for updateMany nMatched and nModified 2017-05-29 12:58:39 -07:00
Victor Denisov
8dac250e10 Add test for correct delete count 2017-05-28 12:38:34 -07:00
Victor Denisov
173e90eb90 Don't run ...Many tests against mongo 2.4 2017-04-09 20:43:54 -07:00
Victor Denisov
80ebc6f756 Throw exception when insertAll encounters big doc
- insertAll should throw an exception if it encounters a document
too big for one message. However all other documents will be inserted.

- slightly edit docs
2017-04-09 20:43:54 -07:00
Victor Denisov
139a17248f Fix tests 2017-04-09 20:43:54 -07:00
Victor Denisov
6fe3cd982d Fix unit tests
updateMany and updateAll don't throw exceptions.
They return UpdateResult which reports errors.
2017-04-09 20:43:54 -07:00
Victor Denisov
a11d573ff1 Tests use env variable to find mongodb host 2017-04-09 10:20:10 -07:00
Victor Denisov
1dc7e21d1e Add tests for delete 2016-06-19 17:18:39 -07:00
Victor Denisov
8091afe4a0 Hide Internal module 2016-06-16 11:27:03 -07:00
Victor Denisov
d4b1c3a8ff Add tests for update operations 2016-06-14 23:27:17 -07:00
Victor Denisov
3a4ebcb23b Insert the list of documents into chunks 2016-05-29 23:14:04 -07:00
Victor Denisov
76ac212708 Add test for allCollections request 2016-05-21 13:32:04 -07:00
Victor Denisov
bbba3f37ea Add test for rest function 2015-09-29 22:42:22 -07:00
Victor Denisov
0038e4163c Add big test 2015-06-20 21:14:26 -07:00
Sean Leather
77cde91c61 Add aggregate test 2015-03-22 19:55:01 +02:00
Sean Leather
8cfcb3894a Refactor to reduce duplicate code 2015-03-21 19:46:08 +02:00
Greg Weber
91701962c3 fix ActionWith usage 2015-03-05 12:00:01 -08:00
Fujimura Daisuke
7354bf0ada Minor code format fix 2014-08-19 21:30:07 +08:00
Fujimura Daisuke
3dd594999a Rename fakeDB to db 2014-08-19 21:29:18 +08:00
Fujimura Daisuke
c6d6f8c71a Minor refactor
Use `shouldReturn`
2014-08-19 12:59:48 +08:00
Fujimura Daisuke
70e8cbc9c2 Add tests for insert operations 2014-08-19 12:59:48 +08:00
Fujimura Daisuke
f6d886e8bd Reorganize specs 2014-08-19 12:48:36 +08:00
Renamed from test/QueryTest.hs (Browse further)