3604: Remove useless slice.
authorTom Clegg <tom@curoverse.com>
Mon, 18 Aug 2014 17:37:21 +0000 (13:37 -0400)
committerTom Clegg <tom@curoverse.com>
Mon, 18 Aug 2014 17:37:21 +0000 (13:37 -0400)
apps/workbench/test/integration/application_layout_test.rb

index bb1f7e31ac9b1f6ec2d7c2d4cf63a6a83b385287..78842a408afd1060b63d5e81f45f91aba20ed8d9 100644 (file)
@@ -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'