summaryrefslogtreecommitdiff
path: root/spec/graphql/types/permission_types/deployment_spec.rb
blob: ccf5798984c75243065ae839a767113f6be95ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::PermissionTypes::Deployment, feature_category: :continuous_delivery do
  it do
    expected_permissions = %i[update_deployment destroy_deployment]

    expect(described_class).to include_graphql_fields(*expected_permissions)
  end
end