Fixed browser test.

This commit is contained in:
Martin Edenhofer 2015-09-21 19:05:30 +02:00
parent b8fa696857
commit e94a03ca43
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ require 'browser_test_helper'
class AgentTicketOverviewLevel1Test < TestCase class AgentTicketOverviewLevel1Test < TestCase
def test_i def test_i
name = 'name-' + rand(999_999).to_s name = 'name_' + rand(999_999).to_s
browser1 = browser_instance browser1 = browser_instance
login( login(
@ -75,7 +75,7 @@ class AgentTicketOverviewLevel1Test < TestCase
ticket_open_by_overview( ticket_open_by_overview(
browser: browser2, browser: browser2,
number: ticket3[:number], number: ticket3[:number],
link: '#ticket/view/' + name, link: "#ticket/view/#{name}",
) )
# use overview navigation to got to #2 & #3 # use overview navigation to got to #2 & #3

View file

@ -1323,7 +1323,7 @@ wait untill text in selector disabppears
ticket_open_by_overview( ticket_open_by_overview(
:browser => browser2, :browser => browser2,
:number => ticket1[:number], :number => ticket1[:number],
:link => '#ticket/view/' + name, :link => "#ticket/view/#{name}",
) )
=end =end