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:
parent
dd8ebd24e8
commit
b8684799cb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue