Improved tests.

This commit is contained in:
Martin Edenhofer 2013-04-24 09:16:51 +02:00
parent 3feff9e70b
commit 7b8d4de2d6

View file

@ -2,7 +2,7 @@
require 'browser_test_helper' require 'browser_test_helper'
class AgentTicketActionSimpleTest < TestCase class AgentTicketActionSimpleTest < TestCase
def test_customer_ticket_create def test_agent_ticket
tests = [ tests = [
{ {
:name => 'agent ticket create 1', :name => 'agent ticket create 1',
@ -272,7 +272,7 @@ class AgentTicketActionSimpleTest < TestCase
}, },
{ {
:execute => 'wait', :execute => 'wait',
:value => 4, :value => 6,
}, },
# check if megred to ticket is shown now # check if megred to ticket is shown now
@ -288,7 +288,7 @@ class AgentTicketActionSimpleTest < TestCase
:execute => 'match', :execute => 'match',
:css => 'body', :css => 'body',
:value => 'test to merge', :value => 'test to merge',
:match_result => false, :match_result => true,
}, },
], ],
}, },