[rspec-users] rails memoize and reload class => error raised

apneadiving apnea.diving.deep at gmail.com
Fri Feb 3 17:29:12 EST 2012


Hi,

That's a bit off topic but since I use Spork + Rspec...

Well, my classes are reloaded between each test wave so Rails'
"memoize" method raises an error (which is expected, see code:
http://rubydoc.info/docs/rails/3.0.0/ActiveSupport/Memoizable:memoize)

Anyone resolved this issue with an elegant solution?


More information about the rspec-users mailing list