[ARVADOS] updated: f028cd05df30e4fba77d85743be1c509cd7adfdf

Git user git at public.curoverse.com
Wed Jun 21 12:47:53 EDT 2017


Summary of changes:
 apps/workbench/test/controllers/collections_controller_test.rb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

       via  f028cd05df30e4fba77d85743be1c509cd7adfdf (commit)
      from  d10632b566429e52a648c6269652e60aef9e351c (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 f028cd05df30e4fba77d85743be1c509cd7adfdf
Author: radhika <radhika at curoverse.com>
Date:   Wed Jun 21 12:47:35 2017 -0400

    9426: update test assertion
    
    Arvados-DCO-1.1-Signed-off-by: Radhika Chippada <radhika at curoverse.com>

diff --git a/apps/workbench/test/controllers/collections_controller_test.rb b/apps/workbench/test/controllers/collections_controller_test.rb
index 257f829..a2785c4 100644
--- a/apps/workbench/test/controllers/collections_controller_test.rb
+++ b/apps/workbench/test/controllers/collections_controller_test.rb
@@ -814,7 +814,10 @@ class CollectionsControllerTest < ActionController::TestCase
     assert_equal false, response.body.include?("value for existing tag 1")
 
     updated_properties = Collection.find(collection['uuid']).properties
-    assert_equal new_tags, updated_properties[:tags]
+    assert_equal true, new_tags.keys.include?(:'new_tag1')
+    assert_equal true, new_tags.keys.include?(:'new_tag2')
+    assert_equal false, new_tags.keys.include?(:'existing tag 1')
+    assert_equal false, new_tags.keys.include?(:'existing tag 2')
     assert_equal true, updated_properties.keys.include?(:'some other property')
     assert_equal 'value for the other property', updated_properties[:'some other property']
   end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list