提交 290e4581 编写于 作者: J Jasper Maes

Rails5: fix deployment model spec

上级 ed499b38
---
title: 'Rails5: fix deployment model spec'
merge_request: 22428
author: Jasper Maes
type: other
......@@ -57,7 +57,7 @@ describe Deployment do
last_deployments = described_class.last_for_environment([staging, production, testing])
expect(last_deployments.size).to eq(2)
expect(last_deployments).to eq(deployments.last(2))
expect(last_deployments).to match_array(deployments.last(2))
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册