26 lines
465 B
Plaintext
Raw Normal View History

2017-02-24 12:12:28 +11:00
import componentTest from 'helpers/component-test';
moduleForComponent('stripe-card', { integration: true });
window.Stripe = function() {
return {
elements: function() {
return {
create: function() {
return {
mount: function() {}
};
}
};
},
};
};
2017-02-24 12:12:28 +11:00
componentTest('stripe card', {
template: `{{stripe-card}}`,
2017-03-16 13:09:32 +11:00
2017-02-24 12:12:28 +11:00
test(assert) {
2017-03-16 13:09:32 +11:00
assert.ok(this.$('input[role=combobox]').length);
2017-02-24 12:12:28 +11:00
}
});