projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
685f9cb
)
2891: Fix bug in Workbench error page test.
author
Brett Smith <brett@curoverse.com>
Wed, 25 Jun 2014 17:47:13 +0000
(13:47 -0400)
committer
Brett Smith <brett@curoverse.com>
Mon, 30 Jun 2014 19:08:21 +0000
(15:08 -0400)
apps/workbench/test/integration/errors_test.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/test/integration/errors_test.rb
b/apps/workbench/test/integration/errors_test.rb
index 092041d512728e6f3289f28bcc145922642cf3ca..8da6de1b8bccf9a71139fa587d1f5e3a53940291 100644
(file)
--- 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")