Commit 17f34e5a authored by Shinya Maeda's avatar Shinya Maeda

Fix spec

parent c99f8e88
......@@ -130,9 +130,9 @@ pipeline_schedules:
- owner
- pipelines
- last_pipeline
- variables
pipeline_schedule:
- pipelines
- variables
pipeline_schedule_variables:
- pipeline_schedule
deploy_keys:
......
......@@ -1383,6 +1383,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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment