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

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

require 'spec_helper'

RSpec.describe Types::EventType do
  specify { expect(described_class.graphql_name).to eq('Event') }

  specify { expect(described_class).to require_graphql_authorizations(:read_event) }

  specify { expect(described_class).to have_graphql_fields(:id, :author, :action, :created_at, :updated_at) }
end