From 42618920833bd497aafa30ded0599f57ba3f0b1e Mon Sep 17 00:00:00 2001 From: oleg Date: Sat, 23 May 2015 20:47:17 +0300 Subject: [PATCH] fix distributor tests --- test/distributor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/distributor.js b/test/distributor.js index 96abf61..bd795d3 100644 --- a/test/distributor.js +++ b/test/distributor.js @@ -27,7 +27,7 @@ describe('Distributor', function() { expect(distributor.queue).length(conditions.queue.length); expect(build.status).equal(conditions.build.status); if (build.status === 'error') { - expect(build.error.message).eql(conditions.build.error.message); + expect(build.error).eql(conditions.build.error.message); } };