diff --git a/test/browser/agent_ticket_overview_level1_test.rb b/test/browser/agent_ticket_overview_level1_test.rb index 8d70641b8..b927746d7 100644 --- a/test/browser/agent_ticket_overview_level1_test.rb +++ b/test/browser/agent_ticket_overview_level1_test.rb @@ -3,7 +3,7 @@ require 'browser_test_helper' class AgentTicketOverviewLevel1Test < TestCase def test_i - name = 'name-' + rand(999_999).to_s + name = 'name_' + rand(999_999).to_s browser1 = browser_instance login( @@ -75,7 +75,7 @@ class AgentTicketOverviewLevel1Test < TestCase ticket_open_by_overview( browser: browser2, number: ticket3[:number], - link: '#ticket/view/' + name, + link: "#ticket/view/#{name}", ) # use overview navigation to got to #2 & #3 diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index ee9bca87c..eceb4b76c 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -1323,7 +1323,7 @@ wait untill text in selector disabppears ticket_open_by_overview( :browser => browser2, :number => ticket1[:number], - :link => '#ticket/view/' + name, + :link => "#ticket/view/#{name}", ) =end