2659: Update test to match changed error message.
authorTom Clegg <tom@curoverse.com>
Tue, 3 Feb 2015 19:57:28 +0000 (14:57 -0500)
committerTom Clegg <tom@curoverse.com>
Tue, 3 Feb 2015 19:57:28 +0000 (14:57 -0500)
apps/workbench/test/integration/errors_test.rb

index 37846a8de72b0331f1c5dc4a841f42cd6bca3477..1cac667b22d3e61a2409fb5324f07b5d7ff2b516 100644 (file)
@@ -128,8 +128,7 @@ class ErrorsTest < ActionDispatch::IntegrationTest
 
   test "404 page checks if user not logged in and makes suggestion" do
     visit "/collections/#{BAD_UUID}"
-    assert_includes page.text, 'You are not logged into Arvados',
-                'Not found: You are not logged into Arvados'
+    assert_text 'you are not logged in'
   end
 
 end