From 7b323c5dbd7171cf98f69ca159b5aa2174a5d069 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 14 Jan 2013 20:02:17 +0100 Subject: minor: further cleanup - try to leave no record behind --- help/test/functional/tickets_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'help/test/functional') diff --git a/help/test/functional/tickets_controller_test.rb b/help/test/functional/tickets_controller_test.rb index 794b119..0c462a9 100644 --- a/help/test/functional/tickets_controller_test.rb +++ b/help/test/functional/tickets_controller_test.rb @@ -274,6 +274,8 @@ class TicketsControllerTest < ActionController::TestCase assert assigns(:all_tickets).include?(other_ticket) assert_equal assigns(:all_tickets).count, number_closed_tickets + number_open_tickets + assigns(:all_tickets).each {|t| t.destroy} + end end -- cgit v1.2.3