diff options
Diffstat (limited to 'spec/frontend/ref/components/ref_selector_spec.js')
-rw-r--r-- | spec/frontend/ref/components/ref_selector_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/ref/components/ref_selector_spec.js b/spec/frontend/ref/components/ref_selector_spec.js index 00b1d5cfbe2..5eee22f479e 100644 --- a/spec/frontend/ref/components/ref_selector_spec.js +++ b/spec/frontend/ref/components/ref_selector_spec.js @@ -313,7 +313,7 @@ describe('Ref selector component', () => { findBranchesSection() .find('[data-testid="section-header"]') .text(), - ).toBe('Branches 123'); + ).toMatchInterpolatedText('Branches 123'); }); it("does not render an error message in the branches section's body", () => { @@ -392,7 +392,7 @@ describe('Ref selector component', () => { findTagsSection() .find('[data-testid="section-header"]') .text(), - ).toBe('Tags 456'); + ).toMatchInterpolatedText('Tags 456'); }); it("does not render an error message in the tags section's body", () => { @@ -460,7 +460,7 @@ describe('Ref selector component', () => { findCommitsSection() .find('[data-testid="section-header"]') .text(), - ).toBe('Commits 1'); + ).toMatchInterpolatedText('Commits 1'); }); it("does not render an error message in the comits section's body", () => { |