diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-02-24 14:27:31 -0300 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-02-24 14:27:31 -0300 |
commit | fec26b211a42b068e677ac5b43080bd4bf59e47a (patch) | |
tree | e5bb685c1370e7e10cc707258fa235d953f426a3 /web-ui/test/unit/common/submit_button | |
parent | fb4630207d86d39ea05dd679b2724be87597c518 (diff) |
[#907] Moves tests to directories components
Diffstat (limited to 'web-ui/test/unit/common/submit_button')
-rw-r--r-- | web-ui/test/unit/common/submit_button/submit_button.spec.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/web-ui/test/unit/common/submit_button/submit_button.spec.js b/web-ui/test/unit/common/submit_button/submit_button.spec.js deleted file mode 100644 index 8279547c..00000000 --- a/web-ui/test/unit/common/submit_button/submit_button.spec.js +++ /dev/null @@ -1,16 +0,0 @@ -import { shallow } from 'enzyme'; -import expect from 'expect'; -import React from 'react'; -import SubmitButton from 'src/common/submit_button/submit_button'; - -describe('SubmitButton', () => { - let submitButton; - - beforeEach(() => { - submitButton = shallow(<SubmitButton buttonText='Add Email' />); - }); - - it('renders an input of type submit for add email', () => { - expect(submitButton.find('input[type="submit"]').props().value).toEqual('Add Email'); - }); -}); |