diff options
Diffstat (limited to 'spec/frontend/oauth_application/components/oauth_secret_spec.js')
-rw-r--r-- | spec/frontend/oauth_application/components/oauth_secret_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/oauth_application/components/oauth_secret_spec.js b/spec/frontend/oauth_application/components/oauth_secret_spec.js index c38bd066da8..5ad55c1e81b 100644 --- a/spec/frontend/oauth_application/components/oauth_secret_spec.js +++ b/spec/frontend/oauth_application/components/oauth_secret_spec.js @@ -47,6 +47,10 @@ describe('OAuthSecret', () => { it('shows the renew secret button', () => { expect(findRenewSecretButton().exists()).toBe(true); }); + + it('renders secret in readonly input', () => { + expect(findInputCopyToggleVisibility().props('readonly')).toBe(true); + }); }); describe('when secret is not provided', () => { |