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@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to