[rspec-users] Trouble testing a method with loop

David Currin dave at 2young2die.com
Mon Feb 4 18:51:21 EST 2008

Great, thanks for that,


On 04/02/2008, Pat Maddox <pergesu at gmail.com> wrote:
> Extract the company creation to a method, so that that method only
> builds one record at a time.  Test that it works properly.  Then you
> can keep the test that you have, verifying that it creates the right
> number of records.
> Pat
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list