Skip to content

Commit

Permalink
DEV: Refresh auto groups in tests to make them pass (#45)
Browse files Browse the repository at this point in the history
We changed our access settings to be based on group membership rather than TL column. This requires some tests to refresh the group memberships to have the tests keep passing.
  • Loading branch information
Drenmi authored Jan 31, 2024
1 parent 989c34f commit c8b15af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/kanban_functionality_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def tagged_topic(*tags)
fab!(:modern_js_backlog) { tagged_topic(modern_js, backlog) }
fab!(:chat_backlog) { tagged_topic(chat, backlog) }

fab!(:user) { Fabricate(:admin) }
fab!(:user) { Fabricate(:admin, refresh_auto_groups: true) }

let!(:theme) { upload_theme_component }

before { sign_in user }
before { sign_in user }

it "should function without tag / category filters" do
visit "/"
Expand Down

0 comments on commit c8b15af

Please sign in to comment.