text: import {expect} from "chai";
  import {mount} from "enzyme";
  
  import React from "react/addons";
  
  import MenuItemComponent from "../../js/components/MenuItemComponent";
  
  describe("MenuItemComponent", function () {
    var mountComponent;
  
    before(function () {
      var component = (
        <MenuItemComponent value="general" selected={true}>
          General
        </MenuItemComponent>
      );
      mountComponent = mount(component);
    });
  
    it("should be checked", function () {
      expect(mountComponent.find("input").get(0).getDOMNode().checked).to.be.true;
    });
  
    it("should have the correct value", function () {
      expect(mountComponent.find("input").get(0).getDOMNode().value)
        .to.equal("general");
    });
  });
  