Move login_as method into spec helper (wincent.dev, 8e136a7)
This was originally in the sessions controller specs, but move it up into the spec helper, where it can be used by all controller specs.
Signed-off-by: Greg Hurrell <greg@hurrell.net>
This was originally in the sessions controller specs, but move it up into the spec helper, where it can be used by all controller specs.
Signed-off-by: Greg Hurrell <greg@hurrell.net>