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

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

require 'spec_helper'

RSpec.describe GitlabSchema.types['DesignVersionEvent'] do
  it { expect(described_class.graphql_name).to eq('DesignVersionEvent') }

  it 'exposes the correct event states' do
    expect(described_class.values.keys).to include(*%w[CREATION MODIFICATION DELETION NONE])
  end
end