I missed one other one that you'll find handy.
voters.should have(2).items
Take a look at
http://rspec.rubyforge.org/rspec/1.3.0/classes/Spec/Matchers.html because
there's a lot of useful stuff...
On Feb 23, 2010, at 2:53 PM, Pete Hodgson wrote:
> Pat, Thanks for the response.
>
> On Feb 2
On Sun, Feb 21, 2010 at 03:14:10PM -0600, David Chelimsky wrote:
> On Sun, Feb 21, 2010 at 2:57 PM, Marcus Ahnve wrote:
> > Hi,
> >
> > I have a problem running the spec command in Rspec 1.3.0 with a
> > directory as parameter.
> >
> > A spec for a MongoMapper document that works when run directly
On Wed, Feb 24, 2010 at 2:23 AM, Dave wrote:
> I have Rspec + Shoulda + FactoryGirl and I am receiving the following
> error when attempting to call Shoulda's have_many or belong_to
> methods. All Shoulda methods used in the "validations" group work
> fine:
>
> > NoMethodError in 'A Project
>
I have Rspec + Shoulda + FactoryGirl and I am receiving the following
error when attempting to call Shoulda's have_many or belong_to
methods. All Shoulda methods used in the "validations" group work
fine:
> NoMethodError in 'A Project
> associations should When you call a
> matcher i
http://groups.google.com/group/rspec
On 24 Feb 2010, at 06:54, Diwakar, ANGLER - EIT wrote:
I need a look on a definition given for rspec and cucumber earlier
by a member in rspec group. Where can I find it
Regards,
Diwakar
___
rspec-users mailing