Renames test/custom-test.js to test/module-test.js.
authorGoalSmashers <jakub@goalsmashers.com>
Mon, 4 Nov 2013 12:29:44 +0000 (13:29 +0100)
committerGoalSmashers <jakub@goalsmashers.com>
Mon, 4 Nov 2013 12:29:44 +0000 (13:29 +0100)
test/module-test.js [moved from test/custom-test.js with 93% similarity]

similarity index 93%
rename from test/custom-test.js
rename to test/module-test.js
index c01b8fc..16302e2 100644 (file)
@@ -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': {