[rspec-users] verifying the assignment to flash

Jeremy Burks jeremy.burks at gmail.com
Fri Dec 8 11:03:29 EST 2006


I apologize if this has been answered before. Is it possible to verify
an assignment to the flash in your controller specs?

I want to verify this in an action:

flash.now[:error] = "an error message"

Thanks for the great project.


More information about the rspec-users mailing list