Make spec thread safe...

Something(???) has changed that Github Actions has become *so* fast that those hit now...
This commit is contained in:
Henne Vogelsang 2025-08-05 17:50:55 +02:00
parent 4b833840fd
commit eb16282a01
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
4 changed files with 9 additions and 8 deletions

View file

@ -58,6 +58,8 @@ feature Role do
fill_in 'user_email', with: user_with_no_role.email
click_button 'Add'
page.find('.alert')
user_with_no_role.reload
expect(user_with_no_role.has_cached_role?(role.name, conference)).to be true