projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ab57b
)
3021: Add random part to magic string.
author
Tom Clegg <tom@curoverse.com>
Wed, 7 Jan 2015 15:01:32 +0000
(10:01 -0500)
committer
Tom Clegg <tom@curoverse.com>
Wed, 7 Jan 2015 15:01:32 +0000
(10:01 -0500)
apps/workbench/test/integration_helper.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/test/integration_helper.rb
b/apps/workbench/test/integration_helper.rb
index f430e842eb9c1a8068474b4da517baf3762235ec..5ef3100362c78d8cfe18ce457f2dacd506af9a0a 100644
(file)
--- a/
apps/workbench/test/integration_helper.rb
+++ b/
apps/workbench/test/integration_helper.rb
@@
-29,7
+29,7
@@
module AssertDomEvent
# Yield the supplied block, then wait for an event to arrive at a
# DOM element.
def assert_triggers_dom_event events, target='body'
- magic = 'RXC0lObcVwEXwSvA
'
+ magic = 'RXC0lObcVwEXwSvA
-' + rand(2**20).to_s(36)
page.evaluate_script <<eos
$('#{target}').one('#{events}', function() {
$('body').append('<div id="#{magic}"></div>');