initital test

This commit is contained in:
Rimian Perkins 2017-02-24 12:12:28 +11:00
parent a8dc1e4099
commit 8cabbc7ac9
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
import componentTest from 'helpers/component-test';
moduleForComponent('stripe-card', { integration: true });
componentTest('stripe card', {
template: `{{stripe-card}}`,
setup() {
// var spy = this.spy();
sandbox.spy();
},
test(assert) {
assert.ok(true);
}
});
// componentTest("should call all subscribers when exceptions", function () {
// var myAPI = { method: function () {} };
//
// var spy = this.spy();
// var mock = this.mock(myAPI);
// mock.expects("method").once().throws();
//
// PubSub.subscribe("message", myAPI.method);
// PubSub.subscribe("message", spy);
// PubSub.publishSync("message", undefined);
//
// mock.verify();
// ok(spy.calledOnce);
// });