[ARVADOS] updated: 1883b07d5de707066bf996c1526073df323c3991
Git user
git at public.curoverse.com
Mon Jun 19 16:46:29 EDT 2017
Summary of changes:
apps/workbench/test/controllers/users_controller_test.rb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
via 1883b07d5de707066bf996c1526073df323c3991 (commit)
from 48f4c496e659bc28446bfd5aa2d469d5316d49cb (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 1883b07d5de707066bf996c1526073df323c3991
Author: radhika <radhika at curoverse.com>
Date: Mon Jun 19 16:38:30 2017 -0400
11060: test updates
Arvados-DCO-1.1-Signed-off-by: Radhika Chippada <radhika at curoverse.com>
diff --git a/apps/workbench/test/controllers/users_controller_test.rb b/apps/workbench/test/controllers/users_controller_test.rb
index 71354b8..7309d29 100644
--- a/apps/workbench/test/controllers/users_controller_test.rb
+++ b/apps/workbench/test/controllers/users_controller_test.rb
@@ -47,10 +47,11 @@ class UsersControllerTest < ActionController::TestCase
assert_response :success
repos = assigns(:my_repositories)
assert repos
- repo_writables = assigns(:repo_writable)
- assert_not_empty repo_writables, "repo_writables should not be empty"
- assert_includes repo_writables, api_fixture('repositories')['repository4']['uuid'] # writable by active
- assert_includes repo_writables, api_fixture('repositories')['repository2']['uuid'] # owned by active
+ assert_not_empty repos, "my_repositories should not be empty"
+ repo_uuids = repos.map(&:uuid)
+ assert_includes repo_uuids, api_fixture('repositories')['repository2']['uuid'] # owned by active
+ assert_includes repo_uuids, api_fixture('repositories')['repository4']['uuid'] # shared with active
+ assert_includes repo_uuids, api_fixture('repositories')['arvados']['uuid'] # shared with all_users
end
test "request shell access" do
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list