gitlab-org--gitlab-foss/spec/models/protected_branch/merge_access_level_spec.rb

5 lines
227 B
Ruby

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