debian-mirror-gitlab/spec/models/ci/pipeline_config_spec.rb
2020-08-09 17:41:57 +05:30

10 lines
266 B
Ruby

# 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