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:
parent
26c542ba2c
commit
008abd17dc
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue