diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-03 16:13:10 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-05 12:38:35 +0300 |
commit | 3acc91866bec2004f4dae542dae0d66a2921b4da (patch) | |
tree | 198858a7e791652573ecf87072040a1e1972923a /spec/models/ci/pipeline_schedule_spec.rb | |
parent | 621f9307ff261f00c67b04210210a14cd7aac081 (diff) |
Fix spec
Diffstat (limited to 'spec/models/ci/pipeline_schedule_spec.rb')
-rw-r--r-- | spec/models/ci/pipeline_schedule_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/ci/pipeline_schedule_spec.rb b/spec/models/ci/pipeline_schedule_spec.rb index 2f826a91417..34722ef1a69 100644 --- a/spec/models/ci/pipeline_schedule_spec.rb +++ b/spec/models/ci/pipeline_schedule_spec.rb @@ -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 |