debian-mirror-gitlab/spec/models/ci/pipeline_config_spec.rb

11 lines
266 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
require 'spec_helper'
2020-07-28 23:09:34 +05:30
RSpec.describe Ci::PipelineConfig, type: :model do
2020-03-13 15:44:24 +05:30
it { is_expected.to belong_to(:pipeline) }
it { is_expected.to validate_presence_of(:pipeline) }
it { is_expected.to validate_presence_of(:content) }
end