adds document counter to signature sheet

This commit is contained in:
rgarcia
2016-12-27 11:41:38 +01:00
parent 4e1bb62654
commit d554ec810a
4 changed files with 11 additions and 0 deletions

View File

@@ -59,6 +59,10 @@ feature 'Signature sheets' do
expect(page).to have_content signature_sheet.created_at.strftime("%d %b %H:%M")
expect(page).to have_content user.name
within("#document_count") do
expect(page).to have_content 3
end
within("#verified_signatures") do
expect(page).to have_content 1
end