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

moduleForComponent 'env-var', {
  # specify the other units that are required for this test
  # needs: ['component:foo', 'helper:bar']
}

test 'it renders', (assert) ->
  assert.expect 2

  # creates the component instance
  component = @subject()
  assert.equal component._state, 'preRender'

  # renders the component to the page
  @render()
  assert.equal component._state, 'inDOM'