debian-mirror-gitlab/spec/models/protected_branch/merge_access_level_spec.rb
2019-05-18 00:54:41 +05:30

7 lines
258 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
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