[ARVADOS] updated: d7e0ab968120be2807c8cc4adf41c85e887e0b05

git at public.curoverse.com git at public.curoverse.com
Tue Jun 23 10:21:48 EDT 2015


Summary of changes:
 apps/workbench/test/integration/users_test.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

       via  d7e0ab968120be2807c8cc4adf41c85e887e0b05 (commit)
      from  628654aa8c43b00472867975031923747d163aef (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 d7e0ab968120be2807c8cc4adf41c85e887e0b05
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Jun 23 10:21:46 2015 -0400

    6320: Update Workbench test for active user VM setup.
    
    Now that the test fixtures give the active user access to testvm2,
    this test needs to be updated to account for it, just like the API
    server tests were.  Refs #6320.

diff --git a/apps/workbench/test/integration/users_test.rb b/apps/workbench/test/integration/users_test.rb
index 89554d3..838884e 100644
--- a/apps/workbench/test/integration/users_test.rb
+++ b/apps/workbench/test/integration/users_test.rb
@@ -116,7 +116,9 @@ class UsersTest < ActionDispatch::IntegrationTest
     click_link 'Advanced'
     click_link 'Metadata'
     assert page.has_text? 'Repository: active/activetestrepo'
-    assert !(page.has_text? 'VirtualMachine:')
+    vm_links = all("a", text: "VirtualMachine:")
+    assert_equal(1, vm_links.size)
+    assert_equal("VirtualMachine: testvm2.shell", vm_links.first.text)
 
     # Click on Setup button again and this time also choose a VM
     click_link 'Admin'

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list