From: Tom Clegg Date: Mon, 18 Aug 2014 17:37:21 +0000 (-0400) Subject: 3604: Remove useless slice. X-Git-Tag: 1.1.0~2317^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/f6634dddac1489a463a5eba713a0908a9c72e212 3604: Remove useless slice. --- diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb index bb1f7e31ac..78842a408a 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -190,7 +190,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest end end - assert page.has_text? profile_message.gsub(/<.*?>/,'')[0,25] + assert page.has_text? profile_message.gsub(/<.*?>/,'') assert page.has_text? required_field_title page.find_field('user[prefs][:profile][:'+required_field_key+']').set 'value to fill required field'