diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-30 06:08:13 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-30 06:08:13 +0000 |
commit | e36d26c6e48724229ddff62fc2d218d06bff8bef (patch) | |
tree | d1164d7ec058eef005f50b1ada28695548dd5c84 /spec/frontend/repository | |
parent | 340ff214b382575ec5075ca10fdd4e4ade76b8dd (diff) | |
download | gitlab-ce-e36d26c6e48724229ddff62fc2d218d06bff8bef.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/repository')
-rw-r--r-- | spec/frontend/repository/components/table/row_spec.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/repository/components/table/row_spec.js b/spec/frontend/repository/components/table/row_spec.js index 94fa8b1e363..92d1fe5c4b0 100644 --- a/spec/frontend/repository/components/table/row_spec.js +++ b/spec/frontend/repository/components/table/row_spec.js @@ -108,7 +108,9 @@ describe('Repository table row component', () => { if (pushes) { expect(visitUrl).not.toHaveBeenCalled(); } else { - expect(visitUrl).toHaveBeenCalledWith('https://test.com', undefined); + const [url, external] = visitUrl.mock.calls[0]; + expect(url).toBe('https://test.com'); + expect(external).toBeFalsy(); } }); |