Skip to content

Commit

Permalink
Merge pull request #5 from dflynn15/buffer-streams
Browse files Browse the repository at this point in the history
bug(buffer): Clean filePaths
  • Loading branch information
dflynn15 committed Oct 1, 2014
2 parents 75935a3 + 13422b0 commit bb19d20
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions example/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ gulp.task('test-path', function() {
gulp.task('dev', function() {
gulp.watch('./*.js', ['test-integration']);
});

gulp.task('multiple', ['default', 'test-integration']);
2 changes: 1 addition & 1 deletion example/specs/integration/integration.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('integration', function() {
describe('Integration tests', function() {
it('should pass integration test', function() {
expect(1 + 2).toEqual(3);
});
Expand Down
2 changes: 1 addition & 1 deletion example/specs/unit/fixture.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('fixture', function () {
describe('Unit tests', function () {
it('should pass', function () {
expect(1 + 2).toEqual(3);
});
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ var path = require('path'),
handlebar = require('handlebars'),
fs = require('fs'),
execFile = require('child_process').execFile,
filePaths = [],
jasmineCss = path.join(__dirname, '/vendor/jasmine-2.0/jasmine.css'),
jasmineJs = [
path.join(__dirname, '/vendor/jasmine-2.0/jasmine.js'),
Expand Down Expand Up @@ -91,7 +90,7 @@ module.exports = function (options) {

// Reference to the file paths piped in
gutil.log('Running Jasmine with PhantomJS');

var filePaths = [];
return through.obj(
function (file, encoding, callback) {

Expand All @@ -117,6 +116,7 @@ module.exports = function (options) {
terminalReporter = require('./lib/terminal-reporter.js').TerminalReporter;

gutil.log('Running Jasmine with minijasminenode2');
var filePaths = [];
return through.obj(
function(file, encoding, callback) {
if (file.isNull()) {
Expand Down

0 comments on commit bb19d20

Please sign in to comment.