require'helper'require'ostruct'moduleArelmoduleNodesdescribe'table alias'doit'has an #engine which delegates to the relation'doengine=Object.newrelation=OpenStruct.new(:engine=>engine)node=TableAlias.newrelation,:foonode.engine.must_equalengineendendendend