import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'

moduleForComponent 'panda-image', 'Integration | Component | panda image', {
  integration: true
}

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

  # Set any properties with @set 'myProperty', 'value'
  # Handle any actions with @on 'myAction', (val) ->

  @render hbs """{{panda-image}}"""

  assert.equal @$().text().trim(), ''

  # Template block usage:
  @render hbs """
    {{#panda-image}}
      template block text
    {{/panda-image}}
  """

  assert.equal @$().text().trim(), 'template block text'
