Renaming field to control (#2210)

This commit is contained in:
Maxime Beauchemin
2017-02-22 08:36:47 -08:00
committed by GitHub
parent d5ba88b407
commit 1e47d6fb41
30 changed files with 415 additions and 411 deletions

View File

@@ -5,7 +5,7 @@ import sinon from 'sinon';
import { expect } from 'chai';
import { describe, it, beforeEach } from 'mocha';
import { shallow } from 'enzyme';
import TextAreaField from '../../../../javascripts/explorev2/components/TextAreaField';
import TextAreaControl from '../../../../javascripts/explorev2/components/controls/TextAreaControl';
const defaultProps = {
name: 'x_axis_label',
@@ -13,11 +13,11 @@ const defaultProps = {
onChange: sinon.spy(),
};
describe('SelectField', () => {
describe('SelectControl', () => {
let wrapper;
beforeEach(() => {
wrapper = shallow(<TextAreaField {...defaultProps} />);
wrapper = shallow(<TextAreaControl {...defaultProps} />);
});
it('renders a FormControl', () => {