Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit b868479

Browse files
authored
DEV: Update test setup to work with auto groups (#274)
We're updating core to change TL based access settings to be group based. This requires some updates of tests to work correctly. (The existing test setup gives false positives.)
1 parent dd8ebd2 commit b868479

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎spec/components/post_revisor_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
describe PostRevisor do
77
fab!(:category) { Fabricate(:category_with_definition) }
8-
fab!(:admin) { Fabricate(:admin) }
8+
fab!(:admin) { Fabricate(:admin, refresh_auto_groups: true) }
99

1010
fab!(:category_solved) do
1111
category = Fabricate(:category_with_definition)

0 commit comments

Comments
 (0)