Permalink
Browse files

apply fix from truncation.rb for PostgreSQL also to deletion.rb

  • Loading branch information...
1 parent 9952a3f commit 4083474473021be1f9cc012e7c260fbe9fea99cb @heisee heisee committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/database_cleaner/active_record/deletion.rb
@@ -27,7 +27,7 @@ def delete_table(table_name)
end
end
- class PostgreSQLAdapter < AbstractAdapter
+ class PostgreSQLAdapter < POSTGRE_ADAPTER_PARENT
def delete_table(table_name)
execute("DELETE FROM #{quote_table_name(table_name)};")
end

0 comments on commit 4083474

Please sign in to comment.