travis-web/tests/unit/components/loading-indicator-test.js
Curtis Ekstrom 9d429966d0 Remove append() test deprecations
Replacing with `render` to appease the test suite gods.
2016-02-04 00:06:47 +01:00

16 lines
493 B
JavaScript

// Generated by CoffeeScript 1.10.0
import { test, moduleForComponent } from 'ember-qunit';
moduleForComponent('loading-indicator', {
unit: true
});
test('it renders', function(assert) {
var component;
component = this.subject({
center: true
});
this.render();
ok(component.$('span').hasClass('loading-indicator'), 'component has loading indicator class');
return ok(component.$().hasClass('loading-container'), 'indicator gets parent class if centered flag is given');
});