Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevva committed Mar 13, 2015
1 parent 7e87acd commit 7949ab9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ test(function (t) {
t.plan(1);

var stream = shorthand();
var contents;

stream.on('data', function (file) {
t.assert(file.contents.indexOf('background: url(\'cat.jpg\') top center;') !== -1);
contents = file.contents.toString();
t.assert(contents.indexOf('background: url(\'cat.jpg\') top center;') !== -1);
});

stream.end(new gutil.File({
Expand Down

0 comments on commit 7949ab9

Please sign in to comment.