Skip to content

Instantly share code, notes, and snippets.

@jessecogollo
Created July 6, 2015 18:24
Show Gist options
  • Save jessecogollo/f7e1ab4d023c2408e6b7 to your computer and use it in GitHub Desktop.
Save jessecogollo/f7e1ab4d023c2408e6b7 to your computer and use it in GitHub Desktop.
test
it('add Legal info to account' , function(done){
this.timeout(30000);
var legalEntity= {
accountId:modelSpec.account.id,
firstName:'first_name',
lastName:'last_name',
day:12,
month:12,
year:1987,
type:'company',
businessName:'business_name',
last4:'0000',
EIN:'00-0000000'
}
stripeAdapter.addLegaInfoAccount(legalEntity , function(err , data){
if(err) return done(err)
assert.isDefined(data);
done();
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment