Skip to content

Commit

Permalink
update deps + update dest tests for new path behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Jan 24, 2014
1 parent 67bd056 commit 7474cae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
"resolve": "~0.6.1",
"findup-sync": "~0.1.2",
"pretty-hrtime": "~0.2.0",
"vinyl-fs": "0.0.1",
"vinyl-fs": "~0.0.2",
"semver": "~2.2.1",
"archy": "0.0.2"
"archy": "~0.0.2"
},
"devDependencies": {
"mocha": "~1.17.0",
"mocha-lcov-reporter": "0.0.1",
"mocha-lcov-reporter": "~0.0.1",
"coveralls": "~2.6.1",
"istanbul": "~0.2.3",
"should": "~3.0.1",
"should": "~3.1.0",
"rimraf": "~2.2.5",
"q": "~1.0.0",
"jshint": "~2.4.1",
Expand Down
8 changes: 4 additions & 4 deletions test/dest.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('gulp output stream', function() {
should.exist(file);
should.exist(file.path);
should.exist(file.contents);
join(file.path,'').should.equal(join(__dirname, "./fixtures/copy/example.txt"));
join(file.path,'').should.equal(join(outpath, "./copy/example.txt"));
String(file.contents).should.equal("this is a test");
});
outstream.on('end', function() {
Expand All @@ -57,7 +57,7 @@ describe('gulp output stream', function() {
should.exist(file);
should.exist(file.path);
should.not.exist(file.contents);
join(file.path,'').should.equal(join(__dirname, "./fixtures/copy/example.txt"));
join(file.path,'').should.equal(join(outpath, "./copy/example.txt"));
});
outstream.on('end', function() {
fs.readFile(join(outpath, "copy", "example.txt"), function(err, contents){
Expand All @@ -78,7 +78,7 @@ describe('gulp output stream', function() {
should.exist(file);
should.exist(file.path);
should.exist(file.contents);
join(file.path,'').should.equal(join(__dirname, "./fixtures/copy/example.txt"));
join(file.path,'').should.equal(join(outpath, "./copy/example.txt"));
});
outstream.on('end', function() {
fs.readFile(join(outpath, "copy", "example.txt"), function(err, contents){
Expand Down Expand Up @@ -115,7 +115,7 @@ describe('gulp output stream', function() {
// data should be re-emitted right
should.exist(file);
should.exist(file.path);
join(file.path,'').should.equal(join(__dirname, "./fixtures/stuff"));
join(file.path,'').should.equal(join(outpath, "./stuff"));
});
outstream.on('end', function() {
fs.exists(join(outpath, "stuff"), function(exists) {
Expand Down

0 comments on commit 7474cae

Please sign in to comment.