summaryrefslogtreecommitdiff
path: root/web-ui/src/common/input_field/input_field.spec.js
diff options
context:
space:
mode:
authorTayane Fernandes <tayane.rmf@gmail.com>2017-03-07 14:22:49 -0300
committerTayane Fernandes <tayane.rmf@gmail.com>2017-03-07 17:06:55 -0300
commit99d03c1f4b2d4e10561fc4d0bef14ccd12ad0f9d (patch)
tree9b5135af5ed36f86b07c617fa5b23469ac519f6a /web-ui/src/common/input_field/input_field.spec.js
parentc36b8ca0fee86f52096a5336fd009d58a7279f37 (diff)
[#923] Add material-ui framework
Added material-ui framework (http://www.material-ui.com/#/) to facilitate the creation of UI components. I also adapted some colors to be compatible with our style guide.
Diffstat (limited to 'web-ui/src/common/input_field/input_field.spec.js')
-rw-r--r--web-ui/src/common/input_field/input_field.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/src/common/input_field/input_field.spec.js b/web-ui/src/common/input_field/input_field.spec.js
index 0c044ce1..ae55653d 100644
--- a/web-ui/src/common/input_field/input_field.spec.js
+++ b/web-ui/src/common/input_field/input_field.spec.js
@@ -11,10 +11,10 @@ describe('InputField', () => {
});
it('renders an input of type text for email', () => {
- expect(inputField.find('input[type="text"]').props().name).toEqual('email');
+ expect(inputField.find('TextField').props().name).toEqual('email');
});
it('renders a label for the email', () => {
- expect(inputField.find('label').text()).toEqual('Email');
+ expect(inputField.find('TextField').props().floatingLabelText).toEqual('Email');
});
});