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

11 lines
242 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GroupDeployKey do
it { is_expected.to validate_presence_of(:user) }
it 'is of type DeployKey' do
expect(build(:group_deploy_key).type).to eq('DeployKey')
end
end