FIXUP upload filter

This commit is contained in:
Paul Campbell 2019-05-09 17:40:05 +01:00
parent ebec3b1564
commit 24b03f959e

View file

@ -11,9 +11,8 @@ class UploadSelectionFilterSuite extends FunSpec {
describe("uploadRequiredFilter") {
val localFile = new File("src/test/scala/net/kemitix/s3thorp/test-file-for-hash.txt")
val localHash = "0cbfe978783bd7950d5da4ff85e4af37"
def invokeSubject(input: Either[File, S3MetaData]) = {
def invokeSubject(input: Either[File, S3MetaData]) =
uploadRequiredFilter(input).compile.toList.unsafeRunSync()
}
describe("when supplied a file") {
val input = Left(localFile)
it("should be marked for upload") {