summaryrefslogtreecommitdiff
path: root/spec/models/ci/pipeline_config_spec.rb
blob: 3d033d33df3a13dbbb52bfeddca82e8a56455caf (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

require 'spec_helper'

RSpec.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