14874: Fixes 'the the' typos on documentation & code comments.
[arvados.git] / services / api / test / unit / collection_test.rb
index e8cd21a243d4ac240b033e9becf94aac3a5e81e2..be4df9c346cf78de9af1ad3bc719111210627221 100644 (file)
@@ -1057,6 +1057,7 @@ class CollectionTest < ActiveSupport::TestCase
       # Add new property
       c.properties['prop2'] = 'value2'
       c.save!
+      c.reload
       assert_equal 'value2', c.properties['prop2']
       # Try to change protected property's value
       c.properties['default_prop1'] = 'new_value'
@@ -1067,6 +1068,7 @@ class CollectionTest < ActiveSupport::TestCase
       act_as_system_user do
         c.properties['default_prop1'] = 'new_value'
         c.save!
+        c.reload
         assert_equal 'new_value', c.properties['default_prop1']
       end
     end