Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pipeline_config_spec.rb « ci « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25f514ee5ab9c4251379487178bc21bba3e3028f (plain)
1
2
3
4
5
6
7
8
9
10
# 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