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