Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Fix forging unit tests #239

Merged
merged 2 commits into from
May 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/components/forging/forging.pug
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ div.offline-hide
div Approval
div.progress-label {{$ctrl.delegate.approval}}%
round-progress(max='100', current='$ctrl.delegate.approval', color='#0288D1')
md-card(layout='column', ng-if='$ctrl.delegate.username')
md-card.forged-blocks(layout='column', ng-if='$ctrl.delegate.username')
md-card-title
md-card-title-text
span.md-title Forged Blocks
Expand Down
2 changes: 1 addition & 1 deletion src/test/components/forging/forging.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('Forging component', () => {

const FORGED_BLOCKS_TITLE = 'Forged Blocks';
it(`should contain a card with title ${FORGED_BLOCKS_TITLE}`, () => {
expect(element.find('md-card .md-title').text()).to.equal(FORGED_BLOCKS_TITLE);
expect(element.find('md-card.forged-blocks .md-title').text()).to.equal(FORGED_BLOCKS_TITLE);
});
});

Expand Down