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

merge_access_level_spec.rb « protected_branch « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b6c2d527d1bc5f68708d89f2f3fec55d6ff3fdd5 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe ProtectedBranch::MergeAccessLevel do
  it { is_expected.to validate_inclusion_of(:access_level).in_array([Gitlab::Access::MAINTAINER, Gitlab::Access::DEVELOPER, Gitlab::Access::NO_ACCESS]) }
end