#6585

it('should warn about incorrect casing on properties', function() {
      spyOn(console, 'error');
      ReactDOMServer.renderToString(React.createElement('input', {type: 'text', tabindex: '1'}));
      expect(console.error.argsForCall.length).toBe(1);
      expect(console.error.argsForCall[0][0]).toContain('tabIndex');
    });
    it('should warn about incorrect casing on event handlers', function() {
      spyOn(console, 'error');
      ReactDOMServer.renderToString(React.createElement('input', {type: 'text', onclick: '1'}));
      ReactDOMServer.renderToString(React.createElement('input', {type: 'text', onKeydown: '1'}));
      expect(console.error.argsForCall.length).toBe(2);
      expect(console.error.argsForCall[0][0]).toContain('onClick');
      expect(console.error.argsForCall[1][0]).toContain('onKeyDown');
    });
    it('should warn about class', function() {
      spyOn(console, 'error');
      ReactDOMServer.renderToString(React.createElement('div', {class: 'muffins'}));
      expect(console.error.argsForCall.length).toBe(1);
      expect(console.error.argsForCall[0][0]).toContain('className');
    });
    it('should warn about props that are no longer supported', function() {
      spyOn(console, 'error');
      ReactTestUtils.renderIntoDocument(<div />);
      expect(console.error.argsForCall.length).toBe(0);
      ReactTestUtils.renderIntoDocument(<div onFocusIn={() => {}} />);
      expect(console.error.argsForCall.length).toBe(1);
      ReactTestUtils.renderIntoDocument(<div onFocusOut={() => {}} />);
      expect(console.error.argsForCall.length).toBe(2);
    });
    it('gives source code refs for unknown prop warning', function() {