9426: update test assertion
[arvados.git] / apps / workbench / test / controllers / collections_controller_test.rb
index 257f82968ee435b77df5e232e7edf68d25b78cb7..a2785c4e755fd97172307bde1c6a048d5ddeafd3 100644 (file)
@@ -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