Re: [rspec-users] Applying an rspec matcher against the elements of a collection

2010-02-24 Thread Pat Maddox
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

Re: [rspec-users] Problem running spec command for directory

2010-02-24 Thread Marcus Ahnve
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

Re: [rspec-users] Rspec + Shoulda + FactoryGirl = undefined method `reflect_on_association'

2010-02-24 Thread David Chelimsky
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 >

[rspec-users] Rspec + Shoulda + FactoryGirl = undefined method `reflect_on_association'

2010-02-24 Thread Dave
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

Re: [rspec-users] where can I find a discusion happened earlier

2010-02-24 Thread Matt Wynne
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