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