diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-03-15 11:59:25 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-03-15 11:59:25 +0100 |
commit | 6869884b4606b362d995173fcdac68201bc5601c (patch) | |
tree | b5d7248398109721a1b788e2f5a8bff1a036f8af /activerecord/test/cases/adapters/postgresql/xml_test.rb | |
parent | bae7f1dae90c37b0e02482a1d99f4aeec5d49e24 (diff) | |
parent | 3baace687cfbf4c98367fda31e0a4b0f85ce813f (diff) | |
download | rails-6869884b4606b362d995173fcdac68201bc5601c.tar.gz rails-6869884b4606b362d995173fcdac68201bc5601c.tar.bz2 rails-6869884b4606b362d995173fcdac68201bc5601c.zip |
Merge pull request #14380 from tgxworld/use_teardown_helper_method_in_activerecord
Use teardown helper method.
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/xml_test.rb')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/xml_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/xml_test.rb b/activerecord/test/cases/adapters/postgresql/xml_test.rb index dd2a727afe..ae299697b1 100644 --- a/activerecord/test/cases/adapters/postgresql/xml_test.rb +++ b/activerecord/test/cases/adapters/postgresql/xml_test.rb @@ -23,7 +23,7 @@ class PostgresqlXMLTest < ActiveRecord::TestCase @column = XmlDataType.columns.find { |c| c.name == 'payload' } end - def teardown + teardown do @connection.execute 'drop table if exists xml_data_type' end |