projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4898ba7
)
3235: Skip data-remote links in smoke test. They might not know format=html.
author
Tom Clegg <tom@curoverse.com>
Sat, 26 Jul 2014 21:23:42 +0000
(17:23 -0400)
committer
Tom Clegg <tom@curoverse.com>
Sat, 26 Jul 2014 21:23:42 +0000
(17:23 -0400)
apps/workbench/test/integration/smoke_test.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/test/integration/smoke_test.rb
b/apps/workbench/test/integration/smoke_test.rb
index efaea00b01c42ff4a06734e07be8505cf28125f4..1e3337044738cf3bca873d1545c96c850f636df0 100644
(file)
--- a/
apps/workbench/test/integration/smoke_test.rb
+++ b/
apps/workbench/test/integration/smoke_test.rb
@@
-16,6
+16,9
@@
class SmokeTest < ActionDispatch::IntegrationTest
all(find_spec + ' a').collect { |tag|
if tag[:href].nil? or tag[:href].empty? or (tag.text !~ text_regexp)
nil
+ elsif tag[:'data-remote']
+ # these don't necessarily work with format=html
+ nil
else
url = URI(tag[:href])
url.host.nil? ? url.path : nil