Permalink
Browse files

Add email and phone functions to template evaluation test.

  • Loading branch information...
1 parent 73ce134 commit 77606c5af0e2f88cb909aa5bb832bcf020482ce7 @cliffano committed Jun 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/worker.js
View
4 test/worker.js
@@ -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 () {
@@ -329,4 +329,4 @@ describe('worker', function () {
});
});
});
-
+

0 comments on commit 77606c5

Please sign in to comment.