Improve test on spec/models/ci/pipeline_schedule_spec.rb

This commit is contained in:
Shinya Maeda 2017-07-06 01:24:20 +09:00
parent 0d51f4f600
commit 8a950baf58
1 changed files with 1 additions and 1 deletions

View File

@ -132,6 +132,6 @@ describe Ci::PipelineSchedule, models: true do
pipeline_schedule.reload
end
it { is_expected.to eq(pipeline_schedule_variables.map(&:to_runner_variable)) }
it { is_expected.to contain_exactly(*pipeline_schedule_variables.map(&:to_runner_variable)) }
end
end