diff options
Diffstat (limited to 'spec/frontend/projects/settings/branch_rules/components/view/protection_row_spec.js')
-rw-r--r-- | spec/frontend/projects/settings/branch_rules/components/view/protection_row_spec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/frontend/projects/settings/branch_rules/components/view/protection_row_spec.js b/spec/frontend/projects/settings/branch_rules/components/view/protection_row_spec.js index b0a69bedd3e..a98b156f94e 100644 --- a/spec/frontend/projects/settings/branch_rules/components/view/protection_row_spec.js +++ b/spec/frontend/projects/settings/branch_rules/components/view/protection_row_spec.js @@ -27,6 +27,7 @@ describe('Branch rule protection row', () => { const findAccessLevels = () => wrapper.findAllByTestId('access-level'); const findApprovalsRequired = () => wrapper.findByText(`${protectionRowPropsMock.approvalsRequired} approvals required`); + const findStatusChecksUrl = () => wrapper.findByText(protectionRowPropsMock.statusCheckUrl); it('renders a title', () => { expect(findTitle().exists()).toBe(true); @@ -68,4 +69,8 @@ describe('Branch rule protection row', () => { it('renders the number of approvals required', () => { expect(findApprovalsRequired().exists()).toBe(true); }); + + it('renders status checks URL', () => { + expect(findStatusChecksUrl().exists()).toBe(true); + }); }); |