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

pipeline_spec.rb « ci « permission_types « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6830b659b12866ccb4363723174f101ad9e90f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::PermissionTypes::Ci::Pipeline, feature_category: :continuous_integration do
  it 'has expected permission fields' do
    expected_permissions = [
      :admin_pipeline, :destroy_pipeline, :update_pipeline, :cancel_pipeline
    ]

    expect(described_class).to have_graphql_fields(expected_permissions).only
  end
end