diff --git a/__tests__/register/components/AccountDetails/AccountDetails.test.js b/__tests__/register/components/AccountDetails/AccountDetails.test.js
new file mode 100644
index 000000000..f763c870a
--- /dev/null
+++ b/__tests__/register/components/AccountDetails/AccountDetails.test.js
@@ -0,0 +1,38 @@
+import React from 'react';
+import { shallow } from 'enzyme';
+
+import AccountDetails from 'register/components/AccountDetails/AccountDetails';
+
+describe('', () => {
+ const account = {
+ address: 'my-address',
+ key: 'my-key',
+ encryptedKey: 'my-encrypted-key',
+ passphrase: 'my-passphrase'
+ };
+ let wrapper;
+
+ const findDatum = (label) => {
+ return wrapper.find('AccountDatum').findWhere((node) => node.prop('label') === label);
+ };
+
+ beforeEach(() => {
+ wrapper = shallow();
+ });
+
+ it('renders address', () => {
+ expect(findDatum('Address').prop('value')).toEqual(account.address);
+ });
+
+ it('renders private key', () => {
+ expect(findDatum('Private Key').prop('value')).toEqual(account.key);
+ });
+
+ it('renders encrypted key', () => {
+ expect(findDatum('Encrypted Key').prop('value')).toEqual(account.encryptedKey);
+ });
+
+ it('does not render passphrase', () => {
+ expect(findDatum('Passphrase')).toHaveLength(0);
+ });
+});
diff --git a/src/register/components/AccountDetails/AccountDatum/AccountDatum.js b/src/register/components/AccountDetails/AccountDatum/AccountDatum.js
index e9fc2f0a4..cd0caea56 100644
--- a/src/register/components/AccountDetails/AccountDatum/AccountDatum.js
+++ b/src/register/components/AccountDetails/AccountDatum/AccountDatum.js
@@ -10,7 +10,7 @@ import styles from './AccountDatum.scss';
const COPIED_DURATION = 2000;
-export default class AccountDetails extends React.Component {
+export default class AccountDatum extends React.Component {
static propTypes = {
label: string.isRequired,
value: string.isRequired
diff --git a/src/register/components/AccountDetails/AccountDetails.js b/src/register/components/AccountDetails/AccountDetails.js
index 69081400d..69c5a41a5 100644
--- a/src/register/components/AccountDetails/AccountDetails.js
+++ b/src/register/components/AccountDetails/AccountDetails.js
@@ -16,7 +16,6 @@ export default function AccountDetails(props) {
-
Login