 			"#{config.rb.prefix.task}common-test-server"
 			"#{config.rb.prefix.task}stop-server"
 			cb
-		) -> defer.resolve() unless task.wasCalledFrom config.rb.tasks['test']
+		) -> defer.resolve() unless taskHelp.wasCalledFrom config.rb.tasks['test']
 
 	# dev
 	# ===

module.exports = (gulp, config) ->
	q            = require 'q'
	gulpSequence = require('gulp-sequence').use gulp
	task         = require("#{config.req.helpers}/tasks") gulp
	defer        = q.defer()

	# default

			"#{config.rb.prefix.task}common-test-client"
			"#{config.rb.prefix.task}run-client-tests"
			cb
		) -> defer.resolve() unless taskHelp.wasCalledFrom config.rb.tasks['test']

	# test default - server
	# =====================
