fix tests
This commit is contained in:
@@ -28,7 +28,12 @@ let addFixtures = function(controller) {
|
||||
};
|
||||
|
||||
test('doesn\'t contain people with 0 balance', function(assert) {
|
||||
let controller = this.subject();
|
||||
// This is a bit strange... we do not want the controller to call the init function defined in the controller that
|
||||
// initializes the event handlers on the contracts. Main reason is that we do not have proper contracts in test mode.
|
||||
// this seems to work. but probably kills some controller stuff, which is fine in this test
|
||||
let controller = this.subject({
|
||||
init: function() { }
|
||||
});
|
||||
addFixtures(controller);
|
||||
|
||||
let contributorsSorted = controller.get('contributorsSorted');
|
||||
|
||||
Reference in New Issue
Block a user