diff options
Diffstat (limited to 'spec/graphql/types/ci/config/job_type_spec.rb')
-rw-r--r-- | spec/graphql/types/ci/config/job_type_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/graphql/types/ci/config/job_type_spec.rb b/spec/graphql/types/ci/config/job_type_spec.rb index 600d665a84b..de4e167f69c 100644 --- a/spec/graphql/types/ci/config/job_type_spec.rb +++ b/spec/graphql/types/ci/config/job_type_spec.rb @@ -7,10 +7,19 @@ RSpec.describe Types::Ci::Config::JobType do it 'exposes the expected fields' do expected_fields = %i[ + afterScript + allowFailure + beforeScript + environment + except + script name + only group_name stage + tags needs + when ] expect(described_class).to have_graphql_fields(*expected_fields) |