I posted a question on shoulda forum. It is under moderation so I don't have a link yet.
To the people who do not use shoulda: How would you write a test for above case. I assume it would require set up a subject, set nil value, and then see if there is an error message. I still think that for such cases should macro is succint and does it job well unless I am missing some new feature of rspec2. Thanks On Aug 11, 12:28 pm, Craig Demyanovich <cdemyanov...@gmail.com> wrote: > On Wed, Aug 11, 2010 at 10:38 AM, David Chelimsky <dchelim...@gmail.com>wrote: > > > > > Also - the subject line is backwards - it shoulda been "shoulda not working > > with rspec-2" ;) > > It's been a long time since I tried shoulda, but I used to like to give the > advice, "you shoulda used RSpec instead." ;-) > > Hope you get everything working, Nadal. > > Regards, > Craig > > _______________________________________________ > rspec-users mailing list > rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users