I really think specify is great for this kind of stuff (especially so
if you need to nock http requests).

i still didnt find the time to show it on blogpost or video but you
can look at some samples in the nano test folder:

https://github.com/dscape/nano/blob/master/tests/att/pipe.js#L11-#L43

nuno

On Thu, May 17, 2012 at 4:12 PM, Osher El-Netanany <[email protected]> wrote:
> oups. excuse me all, I re-checked myself -
> I left some mock object in the wrong place, and the server was not
> running....   Sorry for the bother!
>
> On Thu, May 17, 2012 at 4:56 PM, Osher El-Netanany <[email protected]>
> wrote:
>>
>> oups.
>>
>> correction:
>> module.exports =
>>   { login:
>>     function(test) {
>>        setTimeout(
>>          function(){
>>             test.done();
>>          }
>>        , 1000);
>>     }
>>   }
>>
>>
>> On Thu, May 17, 2012 at 4:54 PM, Osher E <[email protected]> wrote:
>>>
>>> module.exports =
>>>   { login:
>>>     function(test) {
>>>        setTimeout(
>>>          function(test){
>>>             test.done();
>>>          }
>>>        , 1000);
>>>     }
>>>   }
>>
>>
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to