grunt-cache-killer
Version:
Kill your asset cache file problems by updating their filenames and any references to them.
28 lines (19 loc) • 832 B
JavaScript
;
var grunt = require('grunt');
/* Test 2 */
exports.cacheKiller = {
test_1: function (test) {
test.expect(1);
var expected = grunt.file.read('tests/functional/expected/test2/css/website-9063da07.dev.min.css');
var actual = grunt.file.read('tests/functional/actual/test2/css/website-9063da07.dev.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/test2/html/master.html');
var actual = grunt.file.read('tests/functional/actual/test2/html/master.html');
test.equal(actual, expected, 'File names and contents should match.');
test.done();
}
};