1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

do not use private methods

This commit is contained in:
Aaron Patterson 2010-11-16 20:53:35 -08:00
parent 120751d2d4
commit 7c9845e770

View file

@ -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