UNPKG

ember-cli-paypal

Version:

An ember-cli addon to easily integrate paypal into your app.

30 lines (25 loc) 691 B
/* jshint expr:true */ import { expect } from 'chai'; import { describe, it, beforeEach } from 'mocha'; import Ember from 'ember'; import { initialize } from 'ember-cli-paypal/initializers/paypal'; describe('PaypalInitializer', function() { var container, application; beforeEach(function() { Ember.run(function() { application = Ember.Application.create(); container = application.__container__; application.deferReadiness(); }); }); // Replace this with your real tests. it('works', function() { initialize(container, application); // you would normally confirm the results of the initializer here expect(true).to.be.ok; }); });