提交 7c9845e7 编写于 作者: A Aaron Patterson

do not use private methods

上级 120751d2
......@@ -185,7 +185,7 @@ module Arel
it 'should be present in the table cache despite the class of its name' do
[ 'users', :users ].each do |name|
relation = Table.new name
relation.send(:tables).key?(relation.name).must_equal true
Table.table_cache(relation.engine).key?(relation.name).must_equal true
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册