Sergio, 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) Pradeep _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users