We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5a0b4 commit 7e779ddCopy full SHA for 7e779dd
src/test/scala/com/sfxcode/nosql/mongo/operation/IndexSpec.scala
@@ -112,13 +112,12 @@ class IndexSpec extends PersonSpecification {
112
113
"return an index list" in {
114
115
- val list = PersonDAO.indexList
+ val list = PersonDAO.indexList()
116
list must haveSize(1)
117
118
val mongoIndex: MongoIndex = list.head
119
mongoIndex.name mustEqual "_id_"
120
mongoIndex.fields must contain(DatabaseProvider.ObjectIdKey)
121
- mongoIndex.namespace mustEqual "simple-mongo-unit-test.people"
122
mongoIndex.version mustEqual 2
123
mongoIndex.keys must haveSize(1)
124
mongoIndex.keys.head._1 mustEqual DatabaseProvider.ObjectIdKey
0 commit comments