[rspec-users] how can this pass?

Pradeep Gatram pradeep.gatram at gmail.com
Tue Feb 10 07:41:57 EST 2009


Responding to your original question. This issue has bugged me a lot
in the past 1 year. And apparently, a lot of other people. As already
explained, the spec should indeed pass. But there should be a failure
somewhere because your code will obviously not work.

Synthesis is a great tool for checking this stuff automatically. Read
a bit about it here (http://nutrun.com/weblog/synthesized-testing-a-
primer/) and here (http://github.com/gmalamid/synthesis/tree/master)


More information about the rspec-users mailing list