[rspec-users] rspec2 not working with shoulda
node.js99 at gmail.com
Wed Aug 11 12:53:48 EDT 2010
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.
On Aug 11, 12:28 pm, Craig Demyanovich <cdemyanov... at gmail.com> wrote:
> On Wed, Aug 11, 2010 at 10:38 AM, David Chelimsky <dchelim... at 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.
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users