diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 06:07:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 06:07:10 +0300 |
commit | 9bf8cb8d34039f3cef9e1b2f812ce634f2bebe69 (patch) | |
tree | c1e4d7a8dc008004b3e3861a4d8f6d9439ffabf8 /spec/helpers | |
parent | e91080371b32e69d038b3a94261688c09dbcd641 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/profiles_helper_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/helpers/profiles_helper_spec.rb b/spec/helpers/profiles_helper_spec.rb index ebe86ccb08d..4c43b1ec4cf 100644 --- a/spec/helpers/profiles_helper_spec.rb +++ b/spec/helpers/profiles_helper_spec.rb @@ -118,6 +118,12 @@ RSpec.describe ProfilesHelper do end end + describe '#prevent_delete_account?' do + it 'returns false' do + expect(helper.prevent_delete_account?).to eq false + end + end + def stub_auth0_omniauth_provider provider = OpenStruct.new( 'name' => example_omniauth_provider, |