Rename isMinified into isOptimized

This commit is contained in:
Gaël Métais
2015-06-18 22:51:02 +02:00
parent 37e35b0ed6
commit 113665139a
8 changed files with 111 additions and 56 deletions
+2
View File
@@ -207,6 +207,8 @@ describe('imageOptimizer', function() {
.then(function(newEntry) {
newEntry.weightCheck.should.have.a.property('isOptimized').that.equals(false);
newEntry.weightCheck.should.have.a.property('lossless').that.is.below(fileSize);
newEntry.weightCheck.should.have.a.property('optimized').that.equals(newEntry.weightCheck.lossless);
newEntry.weightCheck.should.have.a.property('bodyAfterOptimization');
done();
})