From 41e240df094edac1ade9de299a719e98c09732af Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 20 Dec 2023 14:05:28 +0100 Subject: [PATCH] =?UTF-8?q?FIX:=20Specs=20involving=20topic=20CRUD=20requi?= =?UTF-8?q?re=20users=20with=20auto=5Fgroups=C2=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/discourse/discourse/commit/1f72152e472dbf147554ab1188d36d442fce5baa --- plugin.rb | 2 +- spec/extensions/topic_extension_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.rb b/plugin.rb index c29b64f5..02170088 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.5.4 +# version: 2.5.5 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech diff --git a/spec/extensions/topic_extension_spec.rb b/spec/extensions/topic_extension_spec.rb index da4f416e..1ff77da3 100644 --- a/spec/extensions/topic_extension_spec.rb +++ b/spec/extensions/topic_extension_spec.rb @@ -5,7 +5,7 @@ describe Topic, type: :model do Fabricate(:category, custom_fields: { create_topic_wizard: 'true' }) end fab!(:category_without_wizard) { Fabricate(:category) } - fab!(:user) { Fabricate(:user) } + fab!(:user) { Fabricate(:user, refresh_auto_groups: true) } let(:valid_attrs) { Fabricate.attributes_for(:topic) } context 'with a create_topic_wizard custom field in the category' do