Move contributors + proposals to service

With this change we have all the contributors + proposals all the time in one place and can update them via events.
This commit is contained in:
2018-04-15 19:02:57 +02:00
parent fdda30da67
commit 99bbcda709
11 changed files with 36 additions and 78 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ let addFixtures = function(controller) {
// we expect a bignumer but I don't want to add the bignumber dependency here... so this is some hack to return an object that looks good enough for the test
let fakeBignumber = function(balance) { return { toNumber: function() { return balance; } }; };
fixture.balance = fakeBignumber(fixture.balance);
controller.get('model.contributors').push(Contributor.create(fixture));
controller.get('kredits.contributors').push(Contributor.create(fixture));
});
};