Commit 8a950baf authored by Shinya Maeda's avatar Shinya Maeda

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

parent 0d51f4f6
......@@ -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
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