add ability to use own signing cert

This commit is contained in:
Alex Turchyn
2023-08-31 01:12:24 +03:00
parent c9f39e7b1a
commit d3a5f36555
17 changed files with 296 additions and 78 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ RSpec.describe 'PDF Signature Settings' do
before do
sign_in(user)
visit settings_esign_index_path
visit settings_esign_path
end
it 'shows verify signed PDF page' do
+2 -2
View File
@@ -70,7 +70,7 @@ RSpec.describe 'Team Settings' do
it 'removes a user' do
expect do
accept_confirm('Are you sure?') do
first(:link, 'Delete').click
first(:button, 'Delete').click
end
end.to change { User.active.count }.by(-1)
@@ -86,7 +86,7 @@ RSpec.describe 'Team Settings' do
it 'does not allow to remove the current user' do
expect do
accept_confirm('Are you sure?') do
first(:link, 'Delete').click
first(:button, 'Delete').click
end
end.not_to(change { User.admins.count })