diff options
Diffstat (limited to 'spec/graphql/types/ci/job_type_spec.rb')
-rw-r--r-- | spec/graphql/types/ci/job_type_spec.rb | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/spec/graphql/types/ci/job_type_spec.rb b/spec/graphql/types/ci/job_type_spec.rb index c54137a1c3e..4654b55eea5 100644 --- a/spec/graphql/types/ci/job_type_spec.rb +++ b/spec/graphql/types/ci/job_type_spec.rb @@ -8,16 +8,23 @@ RSpec.describe Types::Ci::JobType do it 'exposes the expected fields' do expected_fields = %i[ + allow_failure + artifacts + created_at + detailedStatus + duration + finished_at id - shortSha - pipeline name needs - detailedStatus + pipeline + queued_at scheduledAt - artifacts - finished_at - duration + scheduledAt + shortSha + stage + started_at + status ] expect(described_class).to have_graphql_fields(*expected_fields) |