define('dummy/tests/unit/components/markdown-to-html-test', ['ember-qunit', 'ember'], function (ember_qunit, Ember) {

  'use strict';

  ember_qunit.moduleForComponent("markdown-to-html", "MarkdownToHtmlComponent", {
    // specify the other units that are required for this test
    needs: ["component:markdown-to-html"]
  });

  ember_qunit.test("it renders", function () {
    expect(2);

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

    // appends the component to the page
    this.append();
    equal(component._state, "inDOM");
  });

  ember_qunit.test("it produces markdown", function () {
    expect(2);

    var component = this.subject();
    this.append();

    Ember['default'].run(function () {
      component.set("markdown", "#Hello, [world](#)");
    });

    var expectedHtml = "<h1 id=\"helloworld\">Hello, <a href=\"#\">world</a></h1>";
    equal(component.get("html"), expectedHtml);

    console.dir(component.element.innerHTML.toString());
    equal(1, 1);
  });

});