aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/adapter_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/adapter_test.rb')
-rw-r--r--activerecord/test/adapter_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/adapter_test.rb b/activerecord/test/adapter_test.rb
index 84af72bfa5..4247bf8618 100644
--- a/activerecord/test/adapter_test.rb
+++ b/activerecord/test/adapter_test.rb
@@ -76,6 +76,7 @@ class AdapterTest < Test::Unit::TestCase
assert_equal 'dbo_posts', @connection.table_alias_for('dbo.posts')
class << @connection
+ remove_method :table_alias_length
alias_method :table_alias_length, :old_table_alias_length
end
end