Closed mitsuru closed 1 year ago
2 parts are not well tested:
id
for the primary key. I think rails is pretty good at translating this for us (in read_attribute
behind the scenes)ancestry
. These spot tests like you introduced may help a little, but we need to probably bite the bullet and create a suite that runs for a totally different ancestry column. Thank you. I'm going to merge this and then introduce tests that ensure we are testing alternative ancestry columns for the whole suite
Fixes
NoMethodError: undefined method
ancestry'in
.sort_by_ancestry`