Browse Source

Minor improvements and adjustments to match changes on master.

Piotrek Koszuliński 9 years ago
parent
commit
cba4c2d868
1 changed files with 1 additions and 7 deletions
  1. 1 7
      dev/tasks/test/tasks.js

+ 1 - 7
dev/tasks/test/tasks.js

@@ -37,10 +37,8 @@ module.exports = () => {
 	global.expect = chai.expect;
 	global.assert = chai.assert;
 	global.sinon = sinon;
-	global.bender = { model: {}, view: {} };
 
 	const tasks = {
-
 		/**
 		 * Is set to `true` when code coverage report will be displayed.
 		 *
@@ -67,7 +65,7 @@ module.exports = () => {
 		 * @returns {Stream}
 		 */
 		testInNode() {
-			const minVersion = '6.1.0';
+			const minVersion = '6.0.0';
 			const src = [
 				'build/cjs/tests/**/*.js',
 				'!**/_utils/**/*.js',
@@ -82,10 +80,6 @@ module.exports = () => {
 				} );
 			}
 
-			// Include global test tools.
-			global.bender.model = require( '../../../build/cjs/tests/engine/_utils/model.js' );
-			global.bender.view = require( '../../../build/cjs/tests/engine/_utils/view.js' );
-
 			return gulp.src( src )
 				.pipe( tasks.skipManual() )
 				.pipe( tasks.skipIgnored() )