Skip to content

Commit

Permalink
DEV: Update test setup to work with auto groups (#274)
Browse files Browse the repository at this point in the history
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.)
  • Loading branch information
Drenmi committed Jan 15, 2024
1 parent dd8ebd2 commit b868479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/components/post_revisor_spec.rb
Expand Up @@ -5,7 +5,7 @@

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)
Expand Down

0 comments on commit b868479

Please sign in to comment.