import {
  moduleForComponent,
  test
} from 'ember-qunit';

moduleForComponent('nav-bar', {});

test('it renders', function(assert) {
  assert.expect(2);

  // creates the component instance
  var component = this.subject();
  assert.equal(component._state, 'preRender');

  // renders the component to the page
  this.render();
  assert.equal(component._state, 'inDOM');

  
});

@@ -148,49 +148,13 @@
 ect(
-2
+3
 );%0A%0A
-  // creates the component instance%0A
   va
@@ -235,47 +235,8 @@
 );%0A%0A
-  // renders the component to the page%0A
   th
@@ -294,13 +294,57 @@
 M');%0A%0A  
+assert.equal(this.$().find('a').length, 2);%0A
 %0A%7D);%0A

Test for links in nav bar component