aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-10-19 15:17:06 +0100
committerJon Leighton <j@jonathanleighton.com>2012-10-19 15:17:06 +0100
commit45d585e82759e02d6fa1032c835ff290b1cd2bf2 (patch)
tree64598b3188bafaeb28ade36c1f4be250e3f35fe1 /activerecord/test/cases/migration_test.rb
parentaf8c8b432abfe478f478fee35c5624c8c04d65e4 (diff)
downloadrails-45d585e82759e02d6fa1032c835ff290b1cd2bf2.tar.gz
rails-45d585e82759e02d6fa1032c835ff290b1cd2bf2.tar.bz2
rails-45d585e82759e02d6fa1032c835ff290b1cd2bf2.zip
fix test :/
Diffstat (limited to 'activerecord/test/cases/migration_test.rb')
-rw-r--r--activerecord/test/cases/migration_test.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index 3c0d2b18d9..c155f29973 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -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