text: import { moduleFor, test } from 'ember-qunit';
  
  moduleFor('route:posts', 'Unit | Route | posts', {
    // Specify the other units that are required for this test.
    // needs: ['controller:foo']
  });
  
  test('it exists', function(assert) {
    let route = this.subject();
    assert.ok(route);
  });
  
  test('showError test', function(assert) {
    let route = this.subject({ controller: {} });
    route.send('showError', 'Not found!');
    assert.equal(route.get('controller.errorMessage'), 'Not found!');
  });
  