From: GoalSmashers Date: Mon, 4 Nov 2013 12:29:44 +0000 (+0100) Subject: Renames test/custom-test.js to test/module-test.js. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=47ae57bd2805ba91877b68e35c91798d411779e8;p=clean-css.git Renames test/custom-test.js to test/module-test.js. --- diff --git a/test/custom-test.js b/test/module-test.js similarity index 93% rename from test/custom-test.js rename to test/module-test.js index c01b8fcd..16302e27 100644 --- a/test/custom-test.js +++ b/test/module-test.js @@ -2,13 +2,13 @@ var vows = require('vows'); var assert = require('assert'); var CleanCSS = require('../index'); -vows.describe('clean-custom').addBatch({ +vows.describe('module tests').addBatch({ 'imported as a function': { topic: function() { return new CleanCSS().minify; }, - 'should process CSS correctly': function(process) { - assert.equal(process('a{ color: #f00; }'), 'a{color:red}'); + 'should minify CSS correctly': function(minify) { + assert.equal(minify('a{ color: #f00; }'), 'a{color:red}'); } }, 'no debug': {