fix distributor tests

This commit is contained in:
oleg 2015-05-23 20:47:17 +03:00
parent a56bc30bc7
commit 4261892083

View File

@ -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);
}
};