Sha256: 157a7b77c8ef0101225aeec4c6099c002736e4138bd6764466a2f3fe5f300fc0

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

var assert = require('assert');
var rfile = require('rfile');
var ruglify = require('../');
describe('ruglify(file)', function () {
  it('returns the minified source code for the file', function () {
    assert.equal(ruglify('./fixture/jquery.js'), rfile('./fixture/jquery.min.js'));
  });
});

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js