Skip to content

Commit

Permalink
Adding .export(module) to vows and RESTeasy test for compatibility wi…
Browse files Browse the repository at this point in the history
…th command-line vows
  • Loading branch information
ress committed Apr 15, 2011
1 parent ad340bb commit bfadeae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Here's a sample of the boilerplate code that RESTeasy eliminates:
}
}
}
});
}).export(module);
</pre>

This same code can be implemented like this using RESTeasy:
Expand All @@ -87,7 +87,8 @@ This same code can be implemented like this using RESTeasy:
.expect(200, { ok: true })
.expect('should respond with x-test-header', function (err, res, body) {
assert.include(res.headers, 'x-test-header');
});
})
.export(module);
</pre>

## Roadmap
Expand Down

0 comments on commit bfadeae

Please sign in to comment.