mask key
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user