instance_spy(“NotLoadedClass”).present? => false instance_spy(“LoadedClass”).present? => true debugging intermittent RSpec failures
-
-
Autoloading (and code reloading in general) have been a major source of pain in tests in Rails 5
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.