aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-03-15 11:28:25 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-03-15 11:28:25 -0700
commit94a20d94d53ad7a1eb64090d407c73e1f5c9de81 (patch)
treef2a86bf7f9c8a02f523ed8fd52e04b60c7317992 /activerecord
parenteb8f0ddb67440d26eb0e179a0c43df8ea2a53b1e (diff)
parent0ecba955e06fee5821919ded769864ec3a5bd388 (diff)
downloadrails-94a20d94d53ad7a1eb64090d407c73e1f5c9de81.tar.gz
rails-94a20d94d53ad7a1eb64090d407c73e1f5c9de81.tar.bz2
rails-94a20d94d53ad7a1eb64090d407c73e1f5c9de81.zip
Merge pull request #5451 from yahonda/address_hstores_failue
Address the dump file format for hstore
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/schema_dumper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb
index 3314013cd4..15ceaa1fcc 100644
--- a/activerecord/test/cases/schema_dumper_test.rb
+++ b/activerecord/test/cases/schema_dumper_test.rb
@@ -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