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:
parent
120751d2d4
commit
7c9845e770
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue