Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-30 03:08:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-30 03:08:16 +0300
commit7b5ff5df506fb54eea0e5d58aadecd0e184ca089 (patch)
tree8e1748068f8a2c17cb99948f1e2721718f41f0e4 /spec/serializers
parentab593c8ded443f7ade3540ff8dac69ee51bc74fd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/ci/job_entity_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/serializers/ci/job_entity_spec.rb b/spec/serializers/ci/job_entity_spec.rb
index bd7e2023765..174d9a0aadb 100644
--- a/spec/serializers/ci/job_entity_spec.rb
+++ b/spec/serializers/ci/job_entity_spec.rb
@@ -56,6 +56,10 @@ RSpec.describe Ci::JobEntity do
expect(subject).to include :queued_at
end
+ it 'contains queued_duration' do
+ expect(subject).to include :queued_duration
+ end
+
context 'when job is retryable' do
before do
job.update!(status: :failed)