debian-mirror-gitlab/spec/models/protected_branch/push_access_level_spec.rb
2018-11-18 11:00:15 +05:30

5 lines
226 B
Ruby

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