aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/schema_dumper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/schema_dumper_test.rb')
-rw-r--r--activerecord/test/cases/schema_dumper_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb
index 08f4a9b421..8413fce3fa 100644
--- a/activerecord/test/cases/schema_dumper_test.rb
+++ b/activerecord/test/cases/schema_dumper_test.rb
@@ -84,7 +84,6 @@ if ActiveRecord::Base.connection.respond_to?(:tables)
assert_no_match %r{create_table "schema_info"}, output
end
-
def test_schema_dump_with_regexp_ignored_table
stream = StringIO.new
@@ -96,7 +95,6 @@ if ActiveRecord::Base.connection.respond_to?(:tables)
assert_no_match %r{create_table "schema_info"}, output
end
-
def test_schema_dump_illegal_ignored_table_value
stream = StringIO.new
ActiveRecord::SchemaDumper.ignore_tables = [5]
@@ -108,7 +106,7 @@ if ActiveRecord::Base.connection.respond_to?(:tables)
if current_adapter?(:MysqlAdapter)
def test_schema_dump_should_not_add_default_value_for_mysql_text_field
output = standard_dump
- assert_match %r{t.text\s+"body",\s+:default => "",\s+:null => false$}, output
+ assert_match %r{t.text\s+"body",\s+:null => false$}, output
end
def test_mysql_schema_dump_should_honor_nonstandard_primary_keys