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:
parent
270a21f353
commit
a490bee1fe
@ -1,5 +1,9 @@
|
|||||||
module AuthHelpers
|
module AuthHelpers
|
||||||
def sign_in
|
def sign_in
|
||||||
|
allow_any_instance_of(SessionsController).
|
||||||
|
to receive(:in_organization?).
|
||||||
|
and_return(true)
|
||||||
|
|
||||||
visit "/"
|
visit "/"
|
||||||
|
|
||||||
within(".centre-stage") do
|
within(".centre-stage") do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user