summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/account_recovery/page.spec.js
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-02-03 18:44:18 -0200
committerTayane Fernandes <tayane.rmf@gmail.com>2017-02-06 19:02:19 -0200
commitaf309eddd421b8f57319e498fa4994a2e3cb0a0e (patch)
tree9f2dd728295137a2b593ef462e16cfe284fb4008 /web-ui/test/spec/account_recovery/page.spec.js
parent55e2f707fabc01735d0c185ded6682219ba0c555 (diff)
[#922] Adds text field and button to page
with @tayanefernandes
Diffstat (limited to 'web-ui/test/spec/account_recovery/page.spec.js')
-rw-r--r--web-ui/test/spec/account_recovery/page.spec.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/web-ui/test/spec/account_recovery/page.spec.js b/web-ui/test/spec/account_recovery/page.spec.js
new file mode 100644
index 00000000..f550a51e
--- /dev/null
+++ b/web-ui/test/spec/account_recovery/page.spec.js
@@ -0,0 +1,12 @@
+import {shallow} from 'enzyme'
+import expect from 'expect'
+import React from 'react'
+import Page from '../../../app/js/account_recovery/page'
+
+describe('Page', () => {
+ 'use strict';
+ it('renders backup email page title', () => {
+ const page = shallow(<Page />);
+ expect(page.find('h1').text()).toEqual('E se vocĂȘ esquecer sua senha?');
+ });
+});