blob: b94a914c78435d0372204af9058b9a3cdb240fde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
require 'spec_helper'
describe Ci::JobVariable do
subject { build(:ci_job_variable) }
it_behaves_like "CI variable"
it { is_expected.to belong_to(:job) }
it { is_expected.to validate_uniqueness_of(:key).scoped_to(:job_id) }
end
|