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