16 lines
493 B
JavaScript
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.append();
|
|
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');
|
|
});
|