[rspec-users] Change cache_classes on the fly?
ben at benmabey.com
Wed May 20 14:46:06 EDT 2009
> Strange request, I know...also seems pretty unlikely that it will
> work, but:
> Any thoughts on how I might change the setting on the fly (or stub
> it)? I'm stopping certain classes loading in production, and I'd like
> to be able to test the behavior without having to manually change the
> setting in test.rb.
Try changing the Rails.configuration.cache_classes setting at the
More information about the rspec-users