[ARVADOS] updated: 08b3d5b95216643081c7749bc84a09659d554b7d
git at public.curoverse.com
git at public.curoverse.com
Wed Feb 4 12:00:31 EST 2015
Summary of changes:
apps/workbench/test/integration/websockets_test.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via 08b3d5b95216643081c7749bc84a09659d554b7d (commit)
from 12abd300828412255248e98754b767df5deeba3d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 08b3d5b95216643081c7749bc84a09659d554b7d
Author: Tom Clegg <tom at curoverse.com>
Date: Wed Feb 4 12:01:35 2015 -0500
2659: Use assert_operator to help debug unreliable test.
diff --git a/apps/workbench/test/integration/websockets_test.rb b/apps/workbench/test/integration/websockets_test.rb
index 45398f9..1ae9010 100644
--- a/apps/workbench/test/integration/websockets_test.rb
+++ b/apps/workbench/test/integration/websockets_test.rb
@@ -65,7 +65,8 @@ class WebsocketTest < ActionDispatch::IntegrationTest
assert_text '1001 hello'
# Check that new value of scrollTop is greater than the old one
- assert page.evaluate_script("$('#event_log_div').scrollTop()") > old_top
+ new_top = page.evaluate_script("$('#event_log_div').scrollTop()")
+ assert_operator new_top, :>, old_top
# Now scroll to 30 pixels from the top
page.execute_script "$('#event_log_div').scrollTop(30)"
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list