summaryrefslogtreecommitdiff
path: root/spec/graphql/types/clusters/agent_token_status_enum_spec.rb
blob: 071e4050cfb1a9d69b3aab3fc92a40b3c15e8369 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::Clusters::AgentTokenStatusEnum do
  it { expect(described_class.graphql_name).to eq('AgentTokenStatus') }
  it { expect(described_class.values.keys).to match_array(Clusters::AgentToken.statuses.keys.map(&:upcase)) }
end