debian-mirror-gitlab/spec/models/protected_branch/merge_access_level_spec.rb
2017-09-10 17:25:29 +05:30

5 lines
223 B
Ruby

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