diff options
author | Azul <azul@leap.se> | 2012-12-18 02:17:12 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-18 02:17:12 +0100 |
commit | e899e5c3f33acb3228fac295013d7cc8b6e4eb04 (patch) | |
tree | 701aa5ce938f20dacc85040c8172c924e1fad523 /help/test/functional/tickets_controller_test.rb | |
parent | d56a009ce084bd14dbd5a876010961caca16da5c (diff) | |
parent | e61cae8d2fc5d5818e56433a45056a539b621bd3 (diff) |
Merge branch 'develop'
Diffstat (limited to 'help/test/functional/tickets_controller_test.rb')
-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 |