Rename contributor.kredits to .balance

This commit is contained in:
2018-04-02 19:07:42 +02:00
parent 4be696ea62
commit 6a31b0d579
4 changed files with 13 additions and 13 deletions
+5 -5
View File
@@ -18,16 +18,16 @@ let addFixtures = function(controller) {
});
[
{ github_username: "neo", github_uid: "318", kredits: 10000 },
{ github_username: "morpheus", github_uid: "843", kredits: 15000 },
{ github_username: "trinity", github_uid: "123", kredits: 5000 },
{ github_username: "mouse", github_uid: "696", kredits: 0 }
{ github_username: "neo", github_uid: "318", balance: 10000 },
{ github_username: "morpheus", github_uid: "843", balance: 15000 },
{ github_username: "trinity", github_uid: "123", balance: 5000 },
{ github_username: "mouse", github_uid: "696", balance: 0 }
].forEach(fixture => {
controller.get('model.contributors').push(Contributor.create(fixture));
});
};
test('doesn\'t contain people with 0 kredits', function(assert) {
test('doesn\'t contain people with 0 balance', function(assert) {
let controller = this.subject();
addFixtures(controller);