[rspec-users] Mock in lambda?

Zhi-Qiang Lei zhiqiang.lei at gmail.com
Sun Dec 26 00:05:26 EST 2010


Hi,

I have a lambda.

Test = lambda { kill(333) }

How should I spec if I want to make sure this Test will send kill message with 333? Thanks.

Best regards,
Zhi-Qiang Lei
zhiqiang.lei at gmail.com



More information about the rspec-users mailing list