aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2012-03-15 13:48:16 -0400
committerYasuo Honda <yasuo.honda@gmail.com>2012-03-15 14:12:47 -0400
commit0ecba955e06fee5821919ded769864ec3a5bd388 (patch)
treef2a86bf7f9c8a02f523ed8fd52e04b60c7317992 /activerecord/test
parenteb8f0ddb67440d26eb0e179a0c43df8ea2a53b1e (diff)
downloadrails-0ecba955e06fee5821919ded769864ec3a5bd388.tar.gz
rails-0ecba955e06fee5821919ded769864ec3a5bd388.tar.bz2
rails-0ecba955e06fee5821919ded769864ec3a5bd388.zip
Address the dump file format for hstore
Diffstat (limited to 'activerecord/test')
-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