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

Address the dump file format for hstore

This commit is contained in:
Yasuo Honda 2012-03-15 13:48:16 -04:00
parent eb8f0ddb67
commit 0ecba955e0

View file

@ -239,7 +239,7 @@ class SchemaDumperTest < ActiveRecord::TestCase
def test_schema_dump_includes_hstores_shorthand_definition
output = standard_dump
if %r{create_table "postgresql_hstores"} =~ output
assert_match %r{t.hstore "hash_store", default => ""}, output
assert_match %r[t.hstore "hash_store", :default => {}], output
end
end