Skip to content

Commit 7e779dd

Browse files
committed
ns not supported in 4.4
1 parent 7c5a0b4 commit 7e779dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/scala/com/sfxcode/nosql/mongo/operation/IndexSpec.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,12 @@ class IndexSpec extends PersonSpecification {
112112

113113
"return an index list" in {
114114

115-
val list = PersonDAO.indexList
115+
val list = PersonDAO.indexList()
116116
list must haveSize(1)
117117

118118
val mongoIndex: MongoIndex = list.head
119119
mongoIndex.name mustEqual "_id_"
120120
mongoIndex.fields must contain(DatabaseProvider.ObjectIdKey)
121-
mongoIndex.namespace mustEqual "simple-mongo-unit-test.people"
122121
mongoIndex.version mustEqual 2
123122
mongoIndex.keys must haveSize(1)
124123
mongoIndex.keys.head._1 mustEqual DatabaseProvider.ObjectIdKey

0 commit comments

Comments
 (0)