summaryrefslogtreecommitdiff
path: root/spec/helpers/profiles_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/profiles_helper_spec.rb')
-rw-r--r--spec/helpers/profiles_helper_spec.rb6
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,