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

fix test :/

This commit is contained in:
Jon Leighton 2012-10-19 15:17:06 +01:00
parent af8c8b432a
commit 45d585e827

View file

@ -344,11 +344,7 @@ class MigrationTest < ActiveRecord::TestCase
columns = Person.connection.columns(:binary_testings)
data_column = columns.detect { |c| c.name == "data" }
if current_adapter?(:MysqlAdapter) or current_adapter?(:Mysql2Adapter)
assert_equal '', data_column.default
else
assert_nil data_column.default
end
assert_nil data_column.default
Person.connection.drop_table :binary_testings rescue nil
end