2020-06-23 00:09:42 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe GroupDeployKey do
|
2020-06-23 00:09:42 +05:30
|
|
|
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
|