[reactives3clienttest] clarify test descriptions

This commit is contained in:
Paul Campbell 2019-05-10 18:31:30 +01:00
parent 1abc34f30b
commit fae876b554

View file

@ -14,7 +14,7 @@ class ReactiveS3ClientTest extends FunSpec {
self.objectHead("bucket", "remoteKey").unsafeRunSync() self.objectHead("bucket", "remoteKey").unsafeRunSync()
} }
describe("when response is okay") { describe("when underlying client response is okay") {
val expectedHash = "hash" val expectedHash = "hash"
val expectedLastModified = Instant.now val expectedLastModified = Instant.now
new ReactiveS3Client { self: S3Client => { new ReactiveS3Client { self: S3Client => {
@ -32,7 +32,7 @@ class ReactiveS3ClientTest extends FunSpec {
} }
} }
describe("when throws NoSuchKeyException") { describe("when underlying client throws NoSuchKeyException") {
new ReactiveS3Client { self: S3Client => new ReactiveS3Client { self: S3Client =>
it("should return None") { it("should return None") {
assertResult(None)(invoke(self)) assertResult(None)(invoke(self))