diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_table.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_table.rb b/test/test_table.rb index c2d7f5e98f..8d37a8eaff 100644 --- a/test/test_table.rb +++ b/test/test_table.rb @@ -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 |