From 47ae57bd2805ba91877b68e35c91798d411779e8 Mon Sep 17 00:00:00 2001 From: GoalSmashers Date: Mon, 4 Nov 2013 13:29:44 +0100 Subject: [PATCH] Renames test/custom-test.js to test/module-test.js. --- test/{custom-test.js => module-test.js} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename test/{custom-test.js => module-test.js} (93%) 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': { -- 2.34.1