/* globals ENABLE_FOO */
/* globals ENABLE_BAR */

import Ember from 'ember';

export default Ember.Controller.extend({
  foo: Ember.on('init', Ember.computed(() => {
    return ENABLE_FOO;
  })),

  bar: Ember.on('init', Ember.computed(() => {
    return ENABLE_BAR;
  }))
});

/* globals ENABLE_FOO */
/* globals ENABLE_BAR */

import Ember from 'ember';

export default Ember.Controller.extend({
  foo: Ember.computed(() => {
    return ENABLE_FOO;
  }),

  bar:  Ember.computed(() => {
    return ENABLE_BAR;
  })
});

Remove unnessasary Ember.on('init') from test controller