From: Brett Smith Date: Wed, 25 Jun 2014 17:47:13 +0000 (-0400) Subject: 2891: Fix bug in Workbench error page test. X-Git-Tag: 1.1.0~2512^2~15 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/1384d89e5be84105fbd6a416aa21530e4b18180d?hp=685f9cb6a771db0d25f000e5bf8616ba1832a218 2891: Fix bug in Workbench error page test. --- diff --git a/apps/workbench/test/integration/errors_test.rb b/apps/workbench/test/integration/errors_test.rb index 092041d512..8da6de1b8b 100644 --- a/apps/workbench/test/integration/errors_test.rb +++ b/apps/workbench/test/integration/errors_test.rb @@ -5,7 +5,7 @@ class ErrorsTest < ActionDispatch::IntegrationTest test "error page renders user navigation" do visit(page_with_token("active", "/collections/#{BAD_UUID}")) - assert(page.has_text?(@@API_AUTHS["active"]["email"]), + assert(page.has_text?(api_fixture("users")["active"]["email"]), "User information missing from error page") assert(page.has_no_text?(/log ?in/i), "Logged in user prompted to log in on error page")