diff --git a/spec/system/ai_helper/ai_composer_helper_spec.rb b/spec/system/ai_helper/ai_composer_helper_spec.rb index 2a670b3d..0fce44d4 100644 --- a/spec/system/ai_helper/ai_composer_helper_spec.rb +++ b/spec/system/ai_helper/ai_composer_helper_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true RSpec.describe "AI Composer helper", type: :system, js: true do - fab!(:user) { Fabricate(:admin) } + fab!(:user) { Fabricate(:admin, refresh_auto_groups: true) } fab!(:non_member_group) { Fabricate(:group) } before do