From eed67d6e30c4947c81c8ab8a1956451501252e1d Mon Sep 17 00:00:00 2001 From: Konrad Wudkowski Date: Sun, 4 Nov 2018 17:13:23 +0000 Subject: [PATCH] Change description of a test to reflect what it does --- src/test/scala/uk/gov/hmrc/mongo/FindAndUpdateSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/scala/uk/gov/hmrc/mongo/FindAndUpdateSpec.scala b/src/test/scala/uk/gov/hmrc/mongo/FindAndUpdateSpec.scala index b4ef1e4..5c0a1d1 100644 --- a/src/test/scala/uk/gov/hmrc/mongo/FindAndUpdateSpec.scala +++ b/src/test/scala/uk/gov/hmrc/mongo/FindAndUpdateSpec.scala @@ -59,7 +59,7 @@ class FindAndUpdateSpec repo.find("key" -> example.key).futureValue.loneElement shouldBe Example(example.key, updatedDescription) } - "return modified document if 'fetchNewObject' is set to false" in { + "return modified document if 'fetchNewObject' is set to true" in { val example = gen[Example] val updatedDescription = gen[String]