1
0
mirror of https://github.com/danbee/my-images synced 2025-03-04 08:49:05 +00:00

Make like we're always in the organisation

This commit is contained in:
Daniel Barber 2018-08-24 22:17:13 -04:00
parent 270a21f353
commit a490bee1fe
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -1,5 +1,9 @@
module AuthHelpers
def sign_in
allow_any_instance_of(SessionsController).
to receive(:in_organization?).
and_return(true)
visit "/"
within(".centre-stage") do