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

User spec fixes for mass assignment (wincent.dev, ab7e57d)

Created 1/23/2008, updated 3/12/2024
  • snippets

Add a custom matcher to the spec helper to make testing for mass assignment a little easier.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Fix failure in user spec (superuser mass assignment) (wincent.dev, 7636e1d)
Remove comment about RSpec bug (wincent.dev, f7ebc62) →

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).