content: import React from 'react';
  import ReactTestUtils from 'react-addons-test-utils';
  import ReactDOM from 'react-dom';
  
  import Media from '../src/Media';
  
  describe('Media', () => {
    it('uses "div" by default', () => {
      const instance = ReactTestUtils.renderIntoDocument(
        <Media />
      );
  
      assert.equal(ReactDOM.findDOMNode(instance).nodeName, 'DIV');
    });
  
    it('has "media" class', () => {
      const instance = ReactTestUtils.renderIntoDocument(
        <Media />
      );
  
      assert.include(ReactDOM.findDOMNode(instance).className, 'media');
    });
  
    it('should merge additional classes passed in', () => {
      const instance = ReactTestUtils.renderIntoDocument(
        <Media className="custom-class" />
      );
  
      assert.include(ReactDOM.findDOMNode(instance).className, 'media');
      assert.include(ReactDOM.findDOMNode(instance).className, 'custom-class');
    });
  
    it('should allow custom elements instead of "div"', () => {
      const instance = ReactTestUtils.renderIntoDocument(
        <Media componentClass="section" />
      );
  
      assert.equal(ReactDOM.findDOMNode(instance).nodeName, 'SECTION');
    });
  
    it('should render children', () => {
      const instance = ReactTestUtils.renderIntoDocument(
        <Media>
          <strong>Children</strong>
        </Media>
      );
      assert.ok(ReactTestUtils.findRenderedDOMComponentWithTag(instance, 'strong'));
    });
  });
  