Skip to content

Commit

Permalink
Fix put test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Susie Coleman committed Feb 22, 2017
1 parent c0e8ac1 commit 1ad9f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/com/gu/scanamo/ScanamoAsyncTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ScanamoAsyncTest extends FunSpec with Matchers with ScalaFutures {
_ <- ScanamoAsync.put(client)("asyncFarmers")(Farmer("McDonald", 156L, Farm(List("sheep", "cow"))))
} yield Scanamo.get[Farmer](client)("asyncFarmers")('name -> "McDonald")

result.futureValue should equal(Farmer("McDonald", 156, Farm(List("sheep", "cow"))))
result.futureValue should equal(Some(Right((Farmer("McDonald", 156, Farm(List("sheep", "cow")))))))
}
}

Expand Down

0 comments on commit 1ad9f05

Please sign in to comment.