Re: [rspec-users] Testing Custom Methods

2011-11-13 Thread David Chelimsky
On Nov 12, 2011, at 6:27 PM, Tony Spore wrote: > > > > > -Thanks, > Tony Spore > > > > On Sat, Nov 12, 2011 at 2:14 PM, David Chelimsky wrote: > On Nov 12, 2011, at 3:33 PM, Tony Spore wrote: > >> I am attempting to test a custom method, and totally bombing out. >> describe Record do >>

Re: [rspec-users] Testing Custom Methods

2011-11-13 Thread Tony Spore
Sorry David, I am getting this error: ailure/Error: @record.save_cf_data(result) NoMethodError: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.first Here is my Gist of my code that I

Re: [rspec-users] Testing Custom Methods

2011-11-13 Thread David Chelimsky
On Nov 13, 2011, at 4:54 PM, Tony Spore wrote: > On Sun, Nov 13, 2011 at 8:12 AM, David Chelimsky wrote: > On Nov 12, 2011, at 6:27 PM, Tony Spore wrote: > >> >> >> >> >> -Thanks, >> Tony Spore >> >> >> >> On Sat, Nov 12, 2011 at 2:14 PM, David Chelimsky >> wrote: >> On Nov 12, 2011,

Re: [rspec-users] Testing Custom Methods

2011-11-13 Thread Tony Spore
Thanks David. I am getting a long way now. -Thanks, Tony Spore CEO SaasSoft LLC (805) 253-1277 saassoft.com On Sun, Nov 13, 2011 at 4:29 PM, David Chelimsky wrote: > > On Nov 13, 2011, at 4:54 PM, Tony Spore wrote: > > On Sun, Nov 13, 2011 at 8:12 AM, David Chelimsky wrote: > >> On Nov 12, 201