diff options
Diffstat (limited to 'spec/frontend/vue_mr_widget/components/mr_widget_header_spec.js')
-rw-r--r-- | spec/frontend/vue_mr_widget/components/mr_widget_header_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/vue_mr_widget/components/mr_widget_header_spec.js b/spec/frontend/vue_mr_widget/components/mr_widget_header_spec.js index a09269e869c..5a1f17573d4 100644 --- a/spec/frontend/vue_mr_widget/components/mr_widget_header_spec.js +++ b/spec/frontend/vue_mr_widget/components/mr_widget_header_spec.js @@ -153,6 +153,8 @@ describe('MRWidgetHeader', () => { gitpodEnabled: true, showGitpodButton: true, gitpodUrl: 'http://gitpod.localhost', + userPreferencesGitpodPath: '/-/profile/preferences#user_gitpod_enabled', + userProfileEnableGitpodPath: '/-/profile?user%5Bgitpod_enabled%5D=true', }; it('renders checkout branch button with modal trigger', () => { @@ -208,6 +210,8 @@ describe('MRWidgetHeader', () => { gitpodEnabled: true, showGitpodButton: true, gitpodUrl: 'http://gitpod.localhost', + userPreferencesGitpodPath: mrDefaultOptions.userPreferencesGitpodPath, + userProfileEnableGitpodPath: mrDefaultOptions.userProfileEnableGitpodPath, webIdeUrl, }); }); |