2017-02-23 20:12:28 -05:00
|
|
|
import componentTest from 'helpers/component-test';
|
|
|
|
|
|
|
|
moduleForComponent('stripe-card', { integration: true });
|
|
|
|
|
2017-03-01 17:35:06 -05:00
|
|
|
window.Stripe = function() {
|
|
|
|
return {
|
|
|
|
elements: function() {
|
|
|
|
return {
|
|
|
|
create: function() {
|
|
|
|
return {
|
|
|
|
mount: function() {}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-02-23 20:12:28 -05:00
|
|
|
componentTest('stripe card', {
|
|
|
|
template: `{{stripe-card}}`,
|
|
|
|
test(assert) {
|
|
|
|
assert.ok(true);
|
|
|
|
}
|
|
|
|
});
|