From 96d815c56c581b3c6961b6b3ac0e0c934500b634 Mon Sep 17 00:00:00 2001 From: Roman Rizzi Date: Fri, 2 Jul 2021 13:38:59 -0300 Subject: [PATCH] DEV: Restos skipped test. Plugins can reset a single registry now. follow-up to 3e3c2ae (#50) --- spec/plugin_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/plugin_spec.rb b/spec/plugin_spec.rb index a608b9b..83646a0 100644 --- a/spec/plugin_spec.rb +++ b/spec/plugin_spec.rb @@ -124,7 +124,7 @@ describe OAuth2BasicAuthenticator do end describe 'fetch custom attributes' do - after { DiscoursePluginRegistry.reset! } + after { DiscoursePluginRegistry.reset_register!(:oauth2_basic_additional_json_paths) } let(:response) do { @@ -133,7 +133,7 @@ describe OAuth2BasicAuthenticator do } end - xit 'stores custom attributes in the user associated account' do + it 'stores custom attributes in the user associated account' do custom_path = 'account.custom_attr' DiscoursePluginRegistry.register_oauth2_basic_additional_json_path( custom_path,