var browserify = require('browserify'),
    fs = require('fs'),
    bNgHtml2Js = require('..'),
    source = require('vinyl-source-stream'),
    expect = require('chai').expect;

describe('bNgHtml2Js', function(){
  var app, output;

  beforeEach(function() {
    output = fs.readFileSync(__dirname + '/fixtures/output.js', 'utf-8');
  });

  it('should compile html to a browserify wrapped angular module', function(done) {
    browserify(__dirname + '/fixtures/app.js')
      .transform(bNgHtml2Js({
        module: 'templates'
      }))
      .bundle(function(err, bundle) {
        expect(output).to.equal(bundle.toString());
        done();
      });
  });
})

@@ -61,18 +61,17 @@
 '),%0A    
-bN
+n
 gHtml2Js
@@ -181,18 +181,17 @@
 scribe('
-bN
+n
 gHtml2Js
@@ -484,10 +484,9 @@
 orm(
-bN
+n
 gHtm

change var name