15112: Add test.
authorTom Clegg <tclegg@veritasgenetics.com>
Mon, 22 Apr 2019 13:30:29 +0000 (09:30 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Mon, 22 Apr 2019 14:54:02 +0000 (10:54 -0400)
This tests for a bug that was already fixed in #14595, but without
noticing.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

services/api/test/unit/container_request_test.rb

index 5174e6cf4238295252c9f1c5e7bd961b48112ecd..0dad6ee75ccf64b6484bf8da202b780932ff7a95 100644 (file)
@@ -252,6 +252,7 @@ class ContainerRequestTest < ActiveSupport::TestCase
     output = Collection.find_by_uuid cr.output_uuid
     assert_equal output_pdh, output.portable_data_hash
     assert_equal output.owner_uuid, project.uuid, "Container output should be copied to #{project.uuid}"
+    assert_not_nil output.modified_at
 
     log = Collection.find_by_uuid cr.log_uuid
     assert_equal log.manifest_text, ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar