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.)
This commit is contained in:
Ted Johansson
2024-01-15 17:31:45 +08:00
committed by GitHub
parent dd8ebd24e8
commit b8684799cb
+1 -1
View File
@@ -5,7 +5,7 @@ require "post_revisor"
describe PostRevisor do
fab!(:category) { Fabricate(:category_with_definition) }
fab!(:admin) { Fabricate(:admin) }
fab!(:admin) { Fabricate(:admin, refresh_auto_groups: true) }
fab!(:category_solved) do
category = Fabricate(:category_with_definition)