FIXUP upload filter
This commit is contained in:
parent
ebec3b1564
commit
24b03f959e
1 changed files with 1 additions and 2 deletions
|
@ -11,9 +11,8 @@ class UploadSelectionFilterSuite extends FunSpec {
|
||||||
describe("uploadRequiredFilter") {
|
describe("uploadRequiredFilter") {
|
||||||
val localFile = new File("src/test/scala/net/kemitix/s3thorp/test-file-for-hash.txt")
|
val localFile = new File("src/test/scala/net/kemitix/s3thorp/test-file-for-hash.txt")
|
||||||
val localHash = "0cbfe978783bd7950d5da4ff85e4af37"
|
val localHash = "0cbfe978783bd7950d5da4ff85e4af37"
|
||||||
def invokeSubject(input: Either[File, S3MetaData]) = {
|
def invokeSubject(input: Either[File, S3MetaData]) =
|
||||||
uploadRequiredFilter(input).compile.toList.unsafeRunSync()
|
uploadRequiredFilter(input).compile.toList.unsafeRunSync()
|
||||||
}
|
|
||||||
describe("when supplied a file") {
|
describe("when supplied a file") {
|
||||||
val input = Left(localFile)
|
val input = Left(localFile)
|
||||||
it("should be marked for upload") {
|
it("should be marked for upload") {
|
||||||
|
|
Loading…
Reference in a new issue