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

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

require 'spec_helper'

describe UserTypeEnums do
  it '.types' do
    expect(described_class.types.keys).to include('alert_bot', 'project_bot', 'human', 'ghost')
  end

  it '.bots' do
    expect(described_class.bots.keys).to include('alert_bot', 'project_bot')
  end
end