summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-17 09:47:57 +0100
committerAzul <azul@leap.se>2012-12-17 09:47:57 +0100
commitc76891bf7d53d63b7d3bec885ba79100eecbf65e (patch)
tree73d42dad63503aca751fb71be8877f27e6148c5b /help
parent728a4c0df4c0957f4402a5f0dd517b1bff77d7d1 (diff)
small fix to the tickets functional test
Diffstat (limited to 'help')
-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 592bd8c..14ca335 100644
--- a/help/test/functional/tickets_controller_test.rb
+++ b/help/test/functional/tickets_controller_test.rb
@@ -176,14 +176,14 @@ class TicketsControllerTest < ActionController::TestCase
login :is_admin? => true, :email => nil
- get :index, {:admin_status => "mine", :open_status => "open"}
+ get :index, {:admin_status => "all", :open_status => "open"}
assert assigns(:all_tickets).count > 1 # at least 2 tickets
# if we close one ticket, the admin should have 1 less open ticket they admin
assert_difference('assigns[:all_tickets].count', -1) do
assigns(:tickets).first.close
assigns(:tickets).first.save
- get :index, {:admin_status => "mine", :open_status => "open"}
+ get :index, {:admin_status => "all", :open_status => "open"}
end
testticket = Ticket.create :title => 'temp testytest'