Skip to content

Commit

Permalink
Add email and phone functions to template evaluation test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jun 29, 2012
1 parent 73ce134 commit 77606c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/worker.js
Expand Up @@ -262,7 +262,7 @@ describe('worker', function () {
mocks.stream_on_open = [];
worker = new (create(checks, mocks))(333);
worker.write({
header: '{first_name()} {last_name()}',
header: '{first_name()} {last_name()}{email()}{phone()}{phone(\'#######\')}',
segment: '{integer()}{integer(10, 20)}{float()}{float(10.0, 20.0)}{date()}{date(\'yyyy-mm-dd\')}{select()}{select(\'foo\', \'bar\')}',
footer: '{word()} {word(10)}'
}, '12345', 2, 'somedatafile', function () {
Expand Down Expand Up @@ -329,4 +329,4 @@ describe('worker', function () {
});
});
});


0 comments on commit 77606c5

Please sign in to comment.