debian-mirror-gitlab/spec/models/protected_branch/push_access_level_spec.rb
2020-08-09 17:41:57 +05:30

7 lines
263 B
Ruby

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