diff options
Diffstat (limited to 'spec/graphql/types/permission_types/ci/job_spec.rb')
-rw-r--r-- | spec/graphql/types/permission_types/ci/job_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/types/permission_types/ci/job_spec.rb b/spec/graphql/types/permission_types/ci/job_spec.rb index e4bc5419070..238f086c7ee 100644 --- a/spec/graphql/types/permission_types/ci/job_spec.rb +++ b/spec/graphql/types/permission_types/ci/job_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' RSpec.describe Types::PermissionTypes::Ci::Job do it 'has expected permission fields' do expected_permissions = [ - :read_job_artifacts, :read_build, :update_build + :read_job_artifacts, :read_build, :update_build, :cancel_build ] expect(described_class).to have_graphql_fields(expected_permissions).only |