summaryrefslogtreecommitdiff
path: root/help/test/functional/tickets_controller_test.rb
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2012-12-17 11:01:22 -0800
committerjessib <jessib@leap.se>2012-12-17 11:01:22 -0800
commit9f450be8d8d5e35daaad92547aff319e0656d677 (patch)
tree6e0f85893adbaf1507b4eecc2bfa8b2cb84211f0 /help/test/functional/tickets_controller_test.rb
parent251400a1bf4497fd1f26beb89302187d465a5faa (diff)
Change comments to reflect changes to functional tests for tickets.
Diffstat (limited to 'help/test/functional/tickets_controller_test.rb')
-rw-r--r--help/test/functional/tickets_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/help/test/functional/tickets_controller_test.rb b/help/test/functional/tickets_controller_test.rb
index b29fa17..7060936 100644
--- a/help/test/functional/tickets_controller_test.rb
+++ b/help/test/functional/tickets_controller_test.rb
@@ -177,9 +177,9 @@ class TicketsControllerTest < ActionController::TestCase
login :is_admin? => true, :email => nil
get :index, {:admin_status => "all", :open_status => "open"}
- assert assigns(:all_tickets).count > 1 # at least 2 tickets
+ assert assigns(:all_tickets).count > 1
- # if we close one ticket, the admin should have 1 less open ticket they admin
+ # if we close one ticket, the admin should have 1 less open ticket
assert_difference('assigns[:all_tickets].count', -1) do
assigns(:tickets).first.close
assigns(:tickets).first.save