@@ -8,7 +8,6 @@
*/
import View from '../view';
-import Template from '../template';
/**
* The label view class.
@@ -40,7 +39,7 @@ export default class LabelView extends View {
const bind = this.bindTemplate;
- this.template = new Template( {
+ this.setTemplate( {
tag: 'label',
attributes: {
class: [
@@ -11,7 +11,7 @@ describe( 'LabelView', () => {
beforeEach( () => {
view = new LabelView();
- view.init();
+ view.render();
} );
describe( 'constructor()', () => {