Skip to content

Commit 96d815c

Browse files
authored
DEV: Restos skipped test. Plugins can reset a single registry now. follow-up to 3e3c2ae (discourse#50)
1 parent 785a97a commit 96d815c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/plugin_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
end
125125

126126
describe 'fetch custom attributes' do
127-
after { DiscoursePluginRegistry.reset! }
127+
after { DiscoursePluginRegistry.reset_register!(:oauth2_basic_additional_json_paths) }
128128

129129
let(:response) do
130130
{
@@ -133,7 +133,7 @@
133133
}
134134
end
135135

136-
xit 'stores custom attributes in the user associated account' do
136+
it 'stores custom attributes in the user associated account' do
137137
custom_path = 'account.custom_attr'
138138
DiscoursePluginRegistry.register_oauth2_basic_additional_json_path(
139139
custom_path,

0 commit comments

Comments
 (0)