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.
1 parent 27e05e3 commit 83089d0Copy full SHA for 83089d0
test/unit/views/layout.erb
@@ -100,15 +100,6 @@
100
</div>
101
102
<script type="text/javascript">
103
- Test.setup();
104
- if (window.mochaPhantomJS) {
105
- mochaPhantomJS.run();
106
- } else {
107
- var runner = mocha.run();
108
- }
109
-
110
- Test.configureRunner(runner);
111
112
mocha.suite.suites.each(function (suite) {
113
suite.beforeAll(function () {
114
Test.startSuite(suite.name);
@@ -118,6 +109,15 @@
118
Test.endSuite(suite.name);
119
});
120
+
+ Test.setup();
+ if (window.mochaPhantomJS) {
115
+ mochaPhantomJS.run();
116
+ } else {
117
+ var runner = mocha.run();
+ }
+ Test.configureRunner(runner);
121
</script>
122
123
0 commit comments