grunt-cache-killer
Version:
Kill your asset cache file problems by updating their filenames and any references to them.
28 lines (19 loc) • 870 B
JavaScript
;
var grunt = require('grunt');
/* Test 1 */
exports.cacheKiller = {
test_1: function (test) {
test.expect(1);
var expected = grunt.file.read('tests/functional/expected/test1/css/website70a1d7fe6502fa887f5b810d9063da07.min.css');
var actual = grunt.file.read('tests/functional/actual/test1/css/website70a1d7fe6502fa887f5b810d9063da07.min.css');
test.equal(actual, expected, 'File names and contents should match.');
test.done();
},
test_2: function (test) {
test.expect(1);
var expected = grunt.file.read('tests/functional/expected/test1/html/master.html');
var actual = grunt.file.read('tests/functional/actual/test1/html/master.html');
test.equal(actual, expected, 'File names and contents should match.');
test.done();
}
};