Permalink
Browse files

do not use private methods

  • Loading branch information...
tenderlove committed Nov 17, 2010
1 parent 120751d commit 7c9845e770b2dd2c9875a43e9258c47a74ce1bed
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_table.rb
View
@@ -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

0 comments on commit 7c9845e

Please sign in to comment.