10 lines
260 B
Ruby
10 lines
260 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe Ci::PipelineConfig, type: :model do
|
|
it { is_expected.to belong_to(:pipeline) }
|
|
|
|
it { is_expected.to validate_presence_of(:pipeline) }
|
|
it { is_expected.to validate_presence_of(:content) }
|
|
end
|