Skip to content

Commit

Permalink
apply fix from truncation.rb for PostgreSQL also to deletion.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
heisee committed Aug 13, 2012
1 parent 9952a3f commit 4083474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database_cleaner/active_record/deletion.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def delete_table(table_name)
end end
end end


class PostgreSQLAdapter < AbstractAdapter class PostgreSQLAdapter < POSTGRE_ADAPTER_PARENT
def delete_table(table_name) def delete_table(table_name)
execute("DELETE FROM #{quote_table_name(table_name)};") execute("DELETE FROM #{quote_table_name(table_name)};")
end end
Expand Down

0 comments on commit 4083474

Please sign in to comment.