This commit is contained in:
Pete Matsyburka committed 2024-10-25 16:17:57 +03:00
1 parent 3975a03cb4
commit 72bbdb38bf
4 files changed
+27 -3

No files matched your search

+2 -1
View File
@@ -13,6 +13,7 @@ RSpec.describe 'API Settings' do
it 'shows verify signed PDF page' do
expect(page).to have_content('API')
expect(page).to have_field('X-Auth-Token', with: user.access_token.token)
token = user.access_token.token
expect(page).to have_field('X-Auth-Token', with: token.sub(token[5..], '*' * token[5..].size))
end
end