diff options
author | Azul <azul@leap.se> | 2012-12-18 02:29:45 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-18 02:29:45 +0100 |
commit | cd0c59ae6177b8b93971735887657314b6888a3c (patch) | |
tree | d39b06cd424e3345a3cba97f56a44c920c06ec97 /help/test/functional | |
parent | be2d8fbd65f4ed2e1e97b19a3322da20e2fb4eda (diff) | |
parent | e899e5c3f33acb3228fac295013d7cc8b6e4eb04 (diff) |
Merge branch 'master' into feature/removing-email-aliases
Diffstat (limited to 'help/test/functional')
-rw-r--r-- | help/test/functional/tickets_controller_test.rb | 4 |
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 |