Skip to content
Snippets Groups Projects
Commit 1ad94622 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Merge branch 'rails5-fix-deployment-spec' into 'master'

Rails5: fix deployment model spec

See merge request gitlab-org/gitlab-ce!22428
parents 4c477ed1 290e4581
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
---
title: 'Rails5: fix deployment model spec'
merge_request: 22428
author: Jasper Maes
type: other
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment