diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-10-10 20:07:09 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 20:07:09 -0300 |
commit | 36f6ab2d8e0ef84f520bb6169b61a8d79f222cfc (patch) | |
tree | 54de9e90fdf4d399fff3e3ff2206f38e29bc1d65 /activerecord/test/cases/schema_dumper_test.rb | |
parent | 15fa282148c3fef064e9cee6564f60ea32f6a2d5 (diff) | |
parent | 0780c444dbf9793fdffaa631fa929d77f109e24f (diff) | |
download | rails-36f6ab2d8e0ef84f520bb6169b61a8d79f222cfc.tar.gz rails-36f6ab2d8e0ef84f520bb6169b61a8d79f222cfc.tar.bz2 rails-36f6ab2d8e0ef84f520bb6169b61a8d79f222cfc.zip |
Merge pull request #26753 from kamipo/fix_table_comment_dumping
Fix table comment dumping
Diffstat (limited to 'activerecord/test/cases/schema_dumper_test.rb')
-rw-r--r-- | activerecord/test/cases/schema_dumper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb index 7f9a5798dd..ae3a5651a1 100644 --- a/activerecord/test/cases/schema_dumper_test.rb +++ b/activerecord/test/cases/schema_dumper_test.rb @@ -51,6 +51,7 @@ class SchemaDumperTest < ActiveRecord::TestCase output = standard_dump assert_match %r{create_table "accounts"}, output assert_match %r{create_table "authors"}, output + assert_no_match %r{(?<=, ) do \|t\|}, output assert_no_match %r{create_table "schema_migrations"}, output assert_no_match %r{create_table "ar_internal_metadata"}, output end |