Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add checking customer on credit owner customer test
  • Loading branch information
matthewfl committed Mar 14, 2014
1 parent 1ee6dd8 commit e0994a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test.js
Expand Up @@ -324,12 +324,16 @@ test('credit_owner_bank_account', function(cb, assert, debit_card) {
amount: 100
}).then(function (credit) {
assert(credit);
cb();
balanced.marketplace.owner_customer.then(function (c) {
assert(c.id == credit.links.customer);
cb();
});
}, function(err) {
assert(false)
});
});


// TODO: need a way to run tests in serial that can change the interals of the system
test('evict', function (cb, assert, page_range, verify_bank_account) {
var s = Object.keys(balanced.cache);
Expand Down

0 comments on commit e0994a6

Please sign in to comment.