fix: travis reference images names

This commit is contained in:
Paul Zabelin
2020-01-02 04:32:29 -08:00
parent 7f0c1371e4
commit c43ecb2017
4 changed files with 3 additions and 1 deletions

View File

@@ -41,7 +41,9 @@ class SnapshotSpec: QuickSpec {
let tolerance: CGFloat = 0.01
let toleranceMessage = {"\(100 * tolerance)% tolerance"}
fputs("images are compared with \(toleranceMessage())\n".uppercased(), __stderrp)
expect(containerView).to(haveValidSnapshot(usesDrawRect: true, tolerance: tolerance), description: "should match with \(toleranceMessage())")
expect(containerView).to(haveValidSnapshot(usesDrawRect: true,
tolerance: tolerance),
description: "should match with \(toleranceMessage())")
}
}
}