We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc87f5b + 3e902c2 commit c950c6bCopy full SHA for c950c6b
vendor/wheels/tests/plugins/runner.cfc
@@ -28,14 +28,15 @@ component extends="wheels.tests.Test" {
28
PluginObj = $pluginObj(config);
29
previousMixins = Duplicate(application.wheels.mixins);
30
application.wheels.mixins = PluginObj.getMixins();
31
+ _originalViewPath = get("viewPath");
32
set(viewPath = "/wheels/tests/_assets/views");
33
c = controller("test", _params);
34
m = model("authors").new();
35
d = $createObjectFromRoot(path = "wheels", fileName = "Dispatch", method = "$init");
36
}
37
38
function teardown() {
- set(viewPath = "views");
39
+ set(viewPath = _originalViewPath);
40
application.wheels.mixins = previousMixins;
41
42
0 commit comments