[Nitro] [PATCH]: og-postgres-sti-fix

Bryan Soto bryan.a.soto at gmail.com
Thu Apr 6 15:29:13 EDT 2006


2) Failure:
test_all(TC_OgInheritance) [./test/og/tc_inheritance.rb:87]:
<TC_OgInheritance::Photo> expected but was
<TC_OgInheritance::Document>.

 3) Failure:
test_sti_all(TC_Sti_OgType) [./test/og/store/tc_sti.rb:89]:
<2> expected but was
<0>.

Attached patch corrects these. The problem lay in psql.rb in
eval_og_allocate. It was improperly checking to see if a class was
STI.

Bryan

--
"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: og-postgres-sti-fix.zip
Type: application/zip
Size: 13372 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060406/cc31e1ce/attachment.zip 


More information about the Nitro-general mailing list