mirror of https://github.com/rails/rails
fixing tests on ruby 1.8
This commit is contained in:
parent
26c542ba2c
commit
008abd17dc
|
@ -159,8 +159,10 @@ module ActiveRecord
|
|||
assert_equal str, binary.data
|
||||
|
||||
ensure
|
||||
if "<3".respond_to?(:encode)
|
||||
DualEncoding.connection.drop_table('dual_encodings')
|
||||
end
|
||||
end
|
||||
|
||||
def test_execute
|
||||
@conn.execute "INSERT INTO items (number) VALUES (10)"
|
||||
|
|
Loading…
Reference in New Issue