Skip to content

Commit

Permalink
DEV: Update test setup to work with auto groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Drenmi committed Jan 15, 2024
1 parent 825f01c commit 467c0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions discourse-ai
2 changes: 1 addition & 1 deletion spec/system/ai_helper/ai_composer_helper_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 467c0da

Please sign in to comment.