diff options
author | Matthew Draper <matthew@trebex.net> | 2014-06-18 14:45:10 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2014-06-18 14:45:10 +0930 |
commit | ce425e41bf2293f8fd49599a59c7a7182d1bdbc0 (patch) | |
tree | 3ecc8e506882659a49073c8f65f4b9fc764582c8 | |
parent | 51b6670a19d4ac4a2eb8bf37ab5e58c43b79619d (diff) | |
download | rails-ce425e41bf2293f8fd49599a59c7a7182d1bdbc0.tar.gz rails-ce425e41bf2293f8fd49599a59c7a7182d1bdbc0.tar.bz2 rails-ce425e41bf2293f8fd49599a59c7a7182d1bdbc0.zip |
Reconnect after possibly enabling hstore
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/array_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/array_test.rb b/activerecord/test/cases/adapters/postgresql/array_test.rb index e9522d5956..a51d5e9d31 100644 --- a/activerecord/test/cases/adapters/postgresql/array_test.rb +++ b/activerecord/test/cases/adapters/postgresql/array_test.rb @@ -17,6 +17,8 @@ class PostgresqlArrayTest < ActiveRecord::TestCase @connection.commit_db_transaction end + @connection.reconnect! + @connection.transaction do @connection.create_table('pg_arrays') do |t| t.string 'tags', array: true |