summaryrefslogtreecommitdiff
path: root/web-ui/test/unit/login/error/generic_error.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/login/error/generic_error.spec.js
parentfb4630207d86d39ea05dd679b2724be87597c518 (diff)
[#907] Moves tests to directories components
Diffstat (limited to 'web-ui/test/unit/login/error/generic_error.spec.js')
-rw-r--r--web-ui/test/unit/login/error/generic_error.spec.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/web-ui/test/unit/login/error/generic_error.spec.js b/web-ui/test/unit/login/error/generic_error.spec.js
deleted file mode 100644
index 1ef8349d..00000000
--- a/web-ui/test/unit/login/error/generic_error.spec.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import { shallow } from 'enzyme';
-import expect from 'expect';
-import React from 'react';
-import { GenericError } from 'src/login/error/generic_error';
-
-describe('GenericError', () => {
- let genericError;
- const mockTranslations = key => key;
-
- beforeEach(() => {
- genericError = shallow(<GenericError t={mockTranslations} />);
- });
-
- it('renders error message', () => {
- expect(genericError.find('.generic-error').length).toEqual(1);
- });
-});