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: 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