This commit is contained in:
KMY 2024-09-09 09:06:49 +09:00
parent 218cb37fe3
commit 941e0f06ec
3 changed files with 17 additions and 16 deletions

View file

@ -8,6 +8,7 @@ RSpec.describe 'Invites' do
let(:user) { Fabricate :user }
before do
UserRole.everyone.update(permissions: UserRole::FLAGS[:invite_users])
host! 'localhost:3000' # TODO: Move into before for all system specs?
sign_in user
end