summaryrefslogtreecommitdiff
path: root/help/test/functional/tickets_controller_test.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-14 20:02:17 +0100
committerAzul <azul@leap.se>2013-01-14 20:02:17 +0100
commit7b323c5dbd7171cf98f69ca159b5aa2174a5d069 (patch)
tree0a882f43a087c13eec8ed6a51386e2308b14c060 /help/test/functional/tickets_controller_test.rb
parent581bcc0507b2f2385bf1f6d82bb119afa2f00716 (diff)
minor: further cleanup - try to leave no record behind
Diffstat (limited to 'help/test/functional/tickets_controller_test.rb')
-rw-r--r--help/test/functional/tickets_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
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