Fix spec
This commit is contained in:
parent
621f9307ff
commit
3acc91866b
3 changed files with 6 additions and 1 deletions
|
@ -130,9 +130,9 @@ pipeline_schedules:
|
|||
- owner
|
||||
- pipelines
|
||||
- last_pipeline
|
||||
- variables
|
||||
pipeline_schedule:
|
||||
- pipelines
|
||||
- variables
|
||||
pipeline_schedule_variables:
|
||||
- pipeline_schedule
|
||||
deploy_keys:
|
||||
|
|
|
@ -1379,6 +1379,7 @@ describe Ci::Build, :models do
|
|||
end
|
||||
|
||||
before do
|
||||
pipeline_schedule.reload
|
||||
pipeline_schedule.pipelines << pipeline
|
||||
end
|
||||
|
||||
|
|
|
@ -127,6 +127,10 @@ describe Ci::PipelineSchedule, models: true do
|
|||
|
||||
subject { pipeline_schedule.job_variables }
|
||||
|
||||
before do
|
||||
pipeline_schedule.reload
|
||||
end
|
||||
|
||||
it { is_expected.to eq(pipeline_schedule_variables.map(&:to_runner_variable)) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue