[ARVADOS] updated: 06c00e72091d7c058cbc607ed863a9444d26156c
git at public.curoverse.com
git at public.curoverse.com
Mon May 5 17:25:23 EDT 2014
Summary of changes:
.../test/unit/arvados_resource_list_test.rb | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
via 06c00e72091d7c058cbc607ed863a9444d26156c (commit)
from 7fc412308bcb4d853e6f9aeb9e7d45e5ab76b11f (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 06c00e72091d7c058cbc607ed863a9444d26156c
Author: Tom Clegg <tom at curoverse.com>
Date: Mon May 5 17:24:10 2014 -0400
Fix broken test case.
diff --git a/apps/workbench/test/unit/arvados_resource_list_test.rb b/apps/workbench/test/unit/arvados_resource_list_test.rb
index 24bb0fe..a5681d2 100644
--- a/apps/workbench/test/unit/arvados_resource_list_test.rb
+++ b/apps/workbench/test/unit/arvados_resource_list_test.rb
@@ -43,9 +43,10 @@ class ResourceListTest < ActiveSupport::TestCase
items: [{kind: 'arvados#specimen',
uuid: specimen_uuid}]
}
- results = ArvadosApiClient.new.unpack_api_response(api_response)
+ arl = ArvadosResourceList.new
+ arl.results = ArvadosApiClient.new.unpack_api_response(api_response)
assert_equal(['name', 'foo', nil],
- (results.
+ (arl.
links_for(specimen_uuid).
collect { |x| x.link_class }),
"Expected links_for to return all link_classes")
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list