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

pipeline_variable_spec.rb « ci « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ce78e34b0c52d38b5490ee23f3a3e06e4bf4390 (plain)
1
2
3
4
5
6
7
8
require 'spec_helper'

describe Ci::PipelineVariable, models: true do
  subject { build(:ci_pipeline_variable) }

  it { is_expected.to include_module(HasVariable) }
  it { is_expected.to validate_uniqueness_of(:key).scoped_to(:pipeline_id) }
end