Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan219 committed Jun 30, 2017
1 parent aa2f976 commit 17d0456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit/routes/docker-compose-cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ describe('/docker-compose-cluster', function () {
}
const body = { repo, branch, filePath, name, parentInputClusterConfigId, githubId, shouldNotAutoFork }
beforeEach(function (done) {
createClusterStub = sinon.stub(rabbitMQ, 'createCluster')
createClusterStub = sinon.stub(rabbitMQ, 'createCluster').resolves()
validateOrBoomStub = sinon.spy(joi, 'validateOrBoomAsync')
sinon.stub(ClusterConfigService, 'getUniqueServicesKeysFromOctobearResults').returns(uniqueMains)
sinon.stub(ClusterConfigService, '_parseComposeInfoForConfig').resolves({ mains })
Expand Down

0 comments on commit 17d0456

Please sign in to comment.