NO_QUNIT=1 disables qunit in autospec

This commit is contained in:
Neil Lalonde 2013-11-28 11:04:53 -05:00
parent e1db744d6a
commit 617a605ca2
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ class Autospec::Manager
@queue = []
@mutex = Mutex.new
@signal = ConditionVariable.new
@runners = [ruby_runner, javascript_runner]
@runners = [ruby_runner]
@runners << javascript_runner unless ENV['NO_QUNIT']
end
def run