Skip to content

Instantly share code, notes, and snippets.

View lkobashigawa's full-sized avatar

Lorin Kobashigawa lkobashigawa

View GitHub Profile
@lkobashigawa
lkobashigawa / gist:4a0c35ce4d729323d598
Last active August 29, 2015 14:10
auth-net-cim createCustomerPaymentProfile validationMode
var sinon = require('sinon');
it("Should be able to set the validation mode", function(done) {
var spy = sinon.spy(AuthorizeCIM.AuthorizeRequest, 'send');
var date = new Date();
var options = {
customerType: 'individual',
payment: new Authorize.Payment({
creditCard: new Authorize.CreditCard({
cardNumber: '4111111111111111',
This is some() code;
<look /> at me, I'm some code();