• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Move login_as method into spec helper (wincent.dev, 8e136a7)

Created 2/13/2008, updated 3/12/2024
  • snippets

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>

← Fix spec breakage caused by removal of Revisions model (wincent.dev, 1f9a20f)
Shorten body_html helper (wincent.dev, e54a968) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).