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

fixing tests on ruby 1.8

This commit is contained in:
Aaron Patterson 2011-11-20 15:09:03 -08:00
parent 26c542ba2c
commit 008abd17dc

View file

@ -159,7 +159,9 @@ module ActiveRecord
assert_equal str, binary.data
ensure
DualEncoding.connection.drop_table('dual_encodings')
if "<3".respond_to?(:encode)
DualEncoding.connection.drop_table('dual_encodings')
end
end
def test_execute