app/assets/javascripts/teaspoon/qunit.coffee in teaspoon-0.7.9 vs app/assets/javascripts/teaspoon/qunit.coffee in teaspoon-0.8.0
- old
+ new
@@ -1,8 +1,10 @@
-#= require qunit-1.12.0
#= require teaspoon/base/teaspoon
#= require teaspoon/qunit/reporters/console
#= require teaspoon/qunit/reporters/html
+
+unless QUnit?
+ throw new Teaspoon.Error('QUnit not found -- use `suite.use_framework :qunit` and adjust or remove the `suite.javascripts` directive.')
class Teaspoon.Runner extends Teaspoon.Runner
constructor: ->
super