• Stan Hu's avatar
    Fix timestamp precision comparison in test · b13f5368
    Stan Hu authored
    As https://gitlab.com/gitlab-org/gitlab/-/jobs/2232305277 shows:
    
    ```
     1) Ci::DeletedObject.bulk_import with data imports data
         Failure/Error: expect(deleted_artifact.pick_up_at).to eq(artifact.expire_at)
           expected: 2022-03-21 03:27:00.958060501 +0000
                got: 2022-03-21 03:27:00.958060000 +0000
           (compared using ==)
           Diff:
           @@ -1 +1 @@
           -Mon, 21 Mar 2022 03:27:00.958060501 UTC +00:00
           +Mon, 21 Mar 2022 03:27:00.958060000 UTC +00:00
    ```
    b13f5368
deleted_object_spec.rb 2.8 KB