diff --git a/json/src/test/scala/io/sphere/json/OptionReaderSpec.scala b/json/src/test/scala/io/sphere/json/OptionReaderSpec.scala index f4967647..a28a3ac1 100644 --- a/json/src/test/scala/io/sphere/json/OptionReaderSpec.scala +++ b/json/src/test/scala/io/sphere/json/OptionReaderSpec.scala @@ -68,7 +68,7 @@ class OptionReaderSpec extends WordSpec with MustMatchers with OptionValues { result mustEqual None } - "do not ignore fields if no one is expected" in { + "consider all fields if the data type does not impose any restriction" in { val json = """{ | "key1": "value1", diff --git a/mongo/src/test/scala/io/sphere/mongo/format/OptionMongoFormatSpec.scala b/mongo/src/test/scala/io/sphere/mongo/format/OptionMongoFormatSpec.scala index 3ec6fc81..f6680105 100644 --- a/mongo/src/test/scala/io/sphere/mongo/format/OptionMongoFormatSpec.scala +++ b/mongo/src/test/scala/io/sphere/mongo/format/OptionMongoFormatSpec.scala @@ -66,7 +66,7 @@ class OptionMongoFormatSpec extends WordSpec with MustMatchers with OptionValues result mustEqual None } - "do not ignore fields if no one is expected" in { + "consider all fields if the data type does not impose any restriction" in { val dbo = dbObj( "key1" -> "value1", "key2" -> "value2"