[ARVADOS] updated: 2cf679eb06b02a98f0597b709eaea581bbe82273

git at public.curoverse.com git at public.curoverse.com
Sun Jun 8 21:46:12 EDT 2014


Summary of changes:
 apps/workbench/test/integration/smoke_test.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  2cf679eb06b02a98f0597b709eaea581bbe82273 (commit)
      from  45008f2afc47a06d0eb39db0f32019dfb049a762 (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 2cf679eb06b02a98f0597b709eaea581bbe82273
Author: Tom Clegg <tom at curoverse.com>
Date:   Sun Jun 8 21:38:54 2014 -0400

    2872: Fix test for new nav.

diff --git a/apps/workbench/test/integration/smoke_test.rb b/apps/workbench/test/integration/smoke_test.rb
index 7293456..efaea00 100644
--- a/apps/workbench/test/integration/smoke_test.rb
+++ b/apps/workbench/test/integration/smoke_test.rb
@@ -13,7 +13,7 @@ class SmokeTest < ActionDispatch::IntegrationTest
   end
 
   def all_links_in(find_spec, text_regexp=//)
-    find(find_spec).all('a').collect { |tag|
+    all(find_spec + ' a').collect { |tag|
       if tag[:href].nil? or tag[:href].empty? or (tag.text !~ text_regexp)
         nil
       else
@@ -26,7 +26,7 @@ class SmokeTest < ActionDispatch::IntegrationTest
   test "all first-level links succeed" do
     visit page_with_token('active_trustedclient', '/')
     assert_visit_success
-    click_link 'user-menu'
+    click_link 'notifications-menu'
     urls = [all_links_in('nav'),
             all_links_in('.navbar', /^Manage /)].flatten
     seen_urls = ['/']

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list