Fix test
This commit is contained in:
parent
218cb37fe3
commit
941e0f06ec
3 changed files with 17 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue