Currently I’m writing some tests for a front end shopping cart extension
wrote for a client. Of course, for the functional testing I’d like to
out some models to verify proper methods are being called by my
Unfortunately this doesn’t appear to be “just working” under the
model like it does in Rails.
In fact, it doesn’t appear that my stub objects in
extension/test/mocks/test/ are even being loaded. I realize it may be
the load path in a Radiant environment does not even bother looking for
Is anyone aware of a way to stub models in Radiant extension testing?
anyone aware of the load path ordering in Radiant?
Any help or insight is appreciated!