summaryrefslogtreecommitdiff
path: root/web-ui/test/unit/common/input_field/input_field.spec.js
diff options
context:
space:
mode:
authorThais Siqueira <thais.siqueira@gmail.com>2017-02-24 14:27:31 -0300
committerThais Siqueira <thais.siqueira@gmail.com>2017-02-24 14:27:31 -0300
commitfec26b211a42b068e677ac5b43080bd4bf59e47a (patch)
treee5bb685c1370e7e10cc707258fa235d953f426a3 /web-ui/test/unit/common/input_field/input_field.spec.js
parentfb4630207d86d39ea05dd679b2724be87597c518 (diff)
[#907] Moves tests to directories components
Diffstat (limited to 'web-ui/test/unit/common/input_field/input_field.spec.js')
-rw-r--r--web-ui/test/unit/common/input_field/input_field.spec.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/web-ui/test/unit/common/input_field/input_field.spec.js b/web-ui/test/unit/common/input_field/input_field.spec.js
deleted file mode 100644
index 0c044ce1..00000000
--- a/web-ui/test/unit/common/input_field/input_field.spec.js
+++ /dev/null
@@ -1,20 +0,0 @@
-import { shallow } from 'enzyme';
-import expect from 'expect';
-import React from 'react';
-import InputField from 'src/common/input_field/input_field';
-
-describe('InputField', () => {
- let inputField;
-
- beforeEach(() => {
- inputField = shallow(<InputField label='Email' name='email' />);
- });
-
- it('renders an input of type text for email', () => {
- expect(inputField.find('input[type="text"]').props().name).toEqual('email');
- });
-
- it('renders a label for the email', () => {
- expect(inputField.find('label').text()).toEqual('Email');
- });
-});