mirror of
https://github.com/discourse/discourse-solved.git
synced 2026-09-18 15:31:34 -04:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user