aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql/ltree_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-03-15 11:59:25 +0100
committerYves Senn <yves.senn@gmail.com>2014-03-15 11:59:25 +0100
commit6869884b4606b362d995173fcdac68201bc5601c (patch)
treeb5d7248398109721a1b788e2f5a8bff1a036f8af /activerecord/test/cases/adapters/postgresql/ltree_test.rb
parentbae7f1dae90c37b0e02482a1d99f4aeec5d49e24 (diff)
parent3baace687cfbf4c98367fda31e0a4b0f85ce813f (diff)
downloadrails-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/ltree_test.rb')
-rw-r--r--activerecord/test/cases/adapters/postgresql/ltree_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/ltree_test.rb b/activerecord/test/cases/adapters/postgresql/ltree_test.rb
index 5d12ca75ca..e72fd4360d 100644
--- a/activerecord/test/cases/adapters/postgresql/ltree_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/ltree_test.rb
@@ -19,7 +19,7 @@ class PostgresqlLtreeTest < ActiveRecord::TestCase
skip "do not test on PG without ltree"
end
- def teardown
+ teardown do
@connection.execute 'drop table if exists ltrees'
end