mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix test :/
This commit is contained in:
parent
af8c8b432a
commit
45d585e827
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue