mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
739443bb72
no issue - standardize on "{TestType}: {ModuleType}: {module-name}" for test description strings - standardize on `{module-name}-test.js` for test file names - fix deprecation notices for ember component unit tests without explicit `unit: test` or `needs: []`
18 lines
494 B
JavaScript
18 lines
494 B
JavaScript
/* jshint expr:true */
|
|
import {expect} from 'chai';
|
|
import {
|
|
describe,
|
|
it
|
|
} from 'mocha';
|
|
import Ember from 'ember';
|
|
import InfiniteScrollMixin from 'ghost/mixins/infinite-scroll';
|
|
|
|
describe('Unit: Mixin: infinite-scroll', function () {
|
|
// Replace this with your real tests.
|
|
it('works', function () {
|
|
var InfiniteScrollObject = Ember.Object.extend(InfiniteScrollMixin),
|
|
subject = InfiniteScrollObject.create();
|
|
|
|
expect(subject).to.be.ok;
|
|
});
|
|
});
|